fix: rerender UI on renderFooter
prop change (#3183)
This commit is contained in:
parent
f8c3c431da
commit
bf97414530
@ -704,6 +704,7 @@ const areEqual = (prev: LayerUIProps, next: LayerUIProps) => {
|
||||
|
||||
const keys = Object.keys(prevAppState) as (keyof Partial<AppState>)[];
|
||||
return (
|
||||
prev.renderCustomFooter === next.renderCustomFooter &&
|
||||
prev.langCode === next.langCode &&
|
||||
prev.elements === next.elements &&
|
||||
keys.every((key) => prevAppState[key] === nextAppState[key])
|
||||
|
Loading…
x
Reference in New Issue
Block a user