chore: update

This commit is contained in:
huzibaca
2024-11-05 21:35:17 +08:00
parent b0132c9718
commit 3515cc8e63

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),
}));