forked from github/plane
build fixes
This commit is contained in:
parent
b1c6eaf2f0
commit
70955b48d8
@ -28,13 +28,13 @@ export const ChangeInterfaceTheme: React.FC<Props> = ({ setIsPaletteOpen }) => {
|
|||||||
|
|
||||||
setTheme(newTheme);
|
setTheme(newTheme);
|
||||||
|
|
||||||
mutateUser((prevData) => {
|
mutateUser((prevData: any) => {
|
||||||
if (!prevData) return prevData;
|
if (!prevData) return prevData;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...prevData,
|
...prevData,
|
||||||
theme: {
|
theme: {
|
||||||
...prevData.theme,
|
...prevData?.theme,
|
||||||
theme: newTheme,
|
theme: newTheme,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user