Skip to content

Commit 8f1339b

Browse files
committed
fix: removed cookie file and started using local storage instead of cookie
1 parent a3c3674 commit 8f1339b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/localstorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ export function removeFromLocalStorage (key) {
5757
* A function that checks whether beta mode is enabled or not
5858
*/
5959
export function isBetaMode () {
60-
return getFromLocalStorage(BETA_MODE_COOKIE_TAG)
60+
return getFromLocalStorage(BETA_MODE_COOKIE_TAG) === 'true'
6161
}

0 commit comments

Comments
 (0)