Skip to content

Commit be8d132

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 17c5932 + e10c8b8 commit be8d132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/useLocalStorage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,6 @@ function useLocalStorage<T>(key: string, initialValue: T) {
127127
}
128128
};
129129

130-
return [storedValue, setValue];
130+
return [storedValue, setValue] as const;
131131
}
132132
```

0 commit comments

Comments
 (0)