chore: update

This commit is contained in:
huzibaca 2024-11-05 21:35:17 +08:00
parent b0132c9718
commit 3515cc8e63
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

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