mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Fix
This commit is contained in:
parent
5694ff17d1
commit
fbbc83276c
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ export const Viewer = ({ id: appId, darkMode, moduleId = 'canvas', switchDarkMod
|
|||
}),
|
||||
shallow
|
||||
);
|
||||
const currentPageComponents = useStore((state) => state.getCurrentPageComponents(), shallow);
|
||||
const getCurrentPageComponents = useStore((state) => state.getCurrentPageComponents(), shallow);
|
||||
const currentPageComponents = useMemo(() => getCurrentPageComponents, [getCurrentPageComponents]);
|
||||
const isPagesSidebarHidden = useStore((state) => state.getPagesSidebarVisibility('canvas'), shallow);
|
||||
const canvasBgColor = useStore((state) => state.getCanvasBackgroundColor('canvas', darkMode), shallow);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue