build fixes

This commit is contained in:
sriramveeraghanta 2023-08-14 19:10:24 +05:30
parent b1c6eaf2f0
commit 70955b48d8

View File

@ -28,13 +28,13 @@ export const ChangeInterfaceTheme: React.FC<Props> = ({ setIsPaletteOpen }) => {
setTheme(newTheme);
mutateUser((prevData) => {
mutateUser((prevData: any) => {
if (!prevData) return prevData;
return {
...prevData,
theme: {
...prevData.theme,
...prevData?.theme,
theme: newTheme,
},
};