diff options
Diffstat (limited to 'packages/web-util')
-rw-r--r-- | packages/web-util/src/hooks/useLocalStorage.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/web-util/src/hooks/useLocalStorage.ts b/packages/web-util/src/hooks/useLocalStorage.ts index 45b7abd3c..f6241f427 100644 --- a/packages/web-util/src/hooks/useLocalStorage.ts +++ b/packages/web-util/src/hooks/useLocalStorage.ts @@ -43,8 +43,7 @@ export function buildStorageKey<Key = string>( return { id: name, codec: codec ?? (codecForString() as Codec<Key>), - [opaque_StorageKey]: true, - }; + } as StorageKey<Key>; } export interface StorageState<Type = string> { |