Skip to content

Commit 2df1fe2

Browse files
committed
fix(site): fix
1 parent 6a363c1 commit 2df1fe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/sites/playground/App.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import GitHub from './icons/Github.vue'
1212
import Share from './icons/Share.vue'
1313
1414
const VERSION = 'tiny-vue-version-3.19'
15-
const NOTIFY = 'tiny-vue-playground-notify'
15+
const NOTIFY_KEY = 'tiny-vue-playground-notify'
1616
const LAYOUT = 'playground-layout'
1717
const LAYOUT_REVERSE = 'playground-layout-reverse'
1818
@@ -41,10 +41,10 @@ const fileDelimiter = cdnHost.includes('npmmirror') ? 'files/' : ''
4141
4242
let notify
4343
const showNotify = () => {
44-
if (localStorage.getItem(NOTIFY) !== 'true' && !notify) {
44+
if (localStorage.getItem(NOTIFY_KEY) !== 'true' && !notify) {
4545
const muteNotify = () => {
4646
notify.close()
47-
localStorage.setItem(NOTIFY, true)
47+
localStorage.setItem(NOTIFY_KEY, true)
4848
}
4949
notify = Notify({
5050
type: 'info',

0 commit comments

Comments
 (0)