mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 19:21:15 +00:00
add composable to read localstorage
This commit is contained in:
1 parent
ecf6874268
commit
2e00c5cd8f
1 file changed
+3
@@ -0,0 +1,3 @@
|
||||
export function readLocalStorage(key: string) {
|
||||
return JSON.parse(localStorage.getItem(key));
|
||||
}
|
||||
Reference in new issue
Block a user