Skip to content

Commit 70a0143

Browse files
committed
main 🧊 add browser api block
1 parent 8d8333c commit 70a0143

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎packages/core/src/bundle/hooks/useLocalStorage/useLocalStorage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useStorage } from '../useStorage/useStorage';
44
* @description - Hook that manages local storage value
55
* @category Browser
66
*
7-
* @browserapi window.localStorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
7+
* @browserapi localStorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
88
*
99
* @template Value The type of the value
1010
* @param {string} key The key of the storage

‎packages/core/src/hooks/useLocalStorage/useLocalStorage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useStorage } from '../useStorage/useStorage';
77
* @description - Hook that manages local storage value
88
* @category Browser
99
*
10-
* @browserapi window.localStorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
10+
* @browserapi localStorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
1111
*
1212
* @template Value The type of the value
1313
* @param {string} key The key of the storage

0 commit comments

Comments
 (0)