[WEB-1551] fix: theme mutation when custom theme is applied. (#4838)
This commit is contained in:
parent
fc3e63f67a
commit
cf8053825b
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ const StoreWrapper: FC<TStoreWrapper> = observer((props) => {
|
|||
dom
|
||||
);
|
||||
} else unsetCustomCssVariables();
|
||||
}, [userProfile, userProfile?.theme, userProfile?.theme?.palette, setTheme, dom]);
|
||||
}, [userProfile, userProfile?.theme, userProfile?.theme?.palette, setTheme, dom, resolvedTheme]);
|
||||
|
||||
useEffect(() => {
|
||||
if (dom) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue