chore: update

This commit is contained in:
huzibaca 2024-11-05 21:35:17 +08:00
parent d5101ac2f3
commit 402018b95c

View File

@ -28,7 +28,7 @@ export const ThemeViewer = forwardRef<DialogRef>((props, ref) => {
useImperativeHandle(ref, () => ({
open: () => {
setOpen(true);
setTheme({ ...theme_setting } || {});
setTheme({ ...theme_setting });
},
close: () => setOpen(false),
}));