Skip to content

Commit

Permalink
fix: update comments onboarding local storage key
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner committed Oct 26, 2023
1 parent cba13e1 commit 6bc9591
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {CommentsOnboardingContext} from './CommentsOnboardingContext'
import {CommentsOnboardingContextValue} from './types'

const VERSION = 1
const LOCAL_STORAGE_KEY = `sanity.comments.onboarding.dismissed.v${VERSION}`
const LOCAL_STORAGE_KEY = `sanityStudio:comments:inspector:onboarding:dismissed:v${VERSION}`

const setLocalStorage = (value: boolean) => {
window.localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(value))
Expand Down

0 comments on commit 6bc9591

Please sign in to comment.