Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork17
Commita2f22a6
committed
(fix): throw an error if no storage is configured
- if the localStorage default is unsupported in the current environment (e.g. Node), then it should throw with a specific error instead of continuing and unexpectedly throwing on getItem - will still error out, so not a "fix" in that sense, but it now will throw a better, more understandable error1 parent63053b9 commita2f22a6
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| |||
0 commit comments
Comments
(0)