Skip to content

Commit c6ecbcc

Browse files
author
Paulo Miguel Ferreira Jorge
committed
chore(): expose IS_BROWSER
1 parent b17d450 commit c6ecbcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const IS_BROWSER = typeof window !== "undefined";
1+
export const IS_BROWSER = typeof window !== "undefined";
22

33
export const SUPPORTED = IS_BROWSER && window.localStorage;

0 commit comments

Comments
 (0)