Skip to content

Commit

Permalink
fix: createChromeStorageStateHookSession actually stored in 'sync'
Browse files Browse the repository at this point in the history
Resolve #405
  • Loading branch information
onikienko committed Jul 14, 2023
1 parent 7bc2d09 commit 1cf58c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function createChromeStorageStateHookSync(key, initialValue) {
* - useChromeStorageSession hook which may be used across extension's components/pages
*/
function createChromeStorageStateHookSession(key, initialValue) {
return createChromeStorageStateHook(key, initialValue, 'sync');
return createChromeStorageStateHook(key, initialValue, 'session');
}

export {
Expand Down

0 comments on commit 1cf58c4

Please sign in to comment.