Skip to content

Commit

Permalink
Delete tabV4OptIn Cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudmanic committed Oct 11, 2024
1 parent 5a5cdba commit 0ee7585
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ const Account = ({ data: fallbackData }) => {
// If opting out, unregister the service worker.
if (!isOptedIn) {
unregister()
// eslint-disable-next-line no-undef
document.cookie = 'tabV4OptIn=enabled; Max-Age=-99999999;'
}

// Set the "v4 beta enabled" flag to false on the user's
Expand Down

0 comments on commit 0ee7585

Please sign in to comment.