fix
This commit is contained in:
parent
1de068c000
commit
489b0eea54
|
|
@ -43,7 +43,7 @@ export const useGlobal = <T extends object>(
|
|||
const { global, render } = ctx;
|
||||
|
||||
if (!global[_id]) {
|
||||
global[_id] = structuredClone(defaultValue);
|
||||
global[_id] = deepClone(defaultValue);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue