diff options
Diffstat (limited to 'node_modules/@phntms/use-local-state/lib/utils.js')
-rw-r--r-- | node_modules/@phntms/use-local-state/lib/utils.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/@phntms/use-local-state/lib/utils.js b/node_modules/@phntms/use-local-state/lib/utils.js new file mode 100644 index 0000000..c1c445c --- /dev/null +++ b/node_modules/@phntms/use-local-state/lib/utils.js @@ -0,0 +1,6 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SUPPORTED = exports.IS_BROWSER = void 0; +exports.IS_BROWSER = typeof window !== "undefined"; +exports.SUPPORTED = exports.IS_BROWSER && window.localStorage; +//# sourceMappingURL=utils.js.map
\ No newline at end of file |