diff --git a/packages/@mantine/hooks/src/use-local-storage/create-storage.ts b/packages/@mantine/hooks/src/use-local-storage/create-storage.ts index a12dd8be5d8..235511cb413 100644 --- a/packages/@mantine/hooks/src/use-local-storage/create-storage.ts +++ b/packages/@mantine/hooks/src/use-local-storage/create-storage.ts @@ -150,7 +150,7 @@ export function createStorage(type: StorageType, hookName: string) { useEffect(() => { if (getInitialValueInEffect) { - setValue(readStorageValue()); + setStorageValue(readStorageValue()); } }, []);