File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 7
7
import { ProgressBar } from " @prgm/sveltekit-progress-bar" ;
8
8
import { ModeWatcher , resetMode , setMode } from " mode-watcher" ;
9
9
import { MetaTags , deepMerge } from " svelte-meta-tags" ;
10
- import { toast } from " svelte-sonner" ;
11
10
import { news } from " $lib/news/news.json" ;
12
11
import type { Entries } from " $lib/types" ;
13
12
import { cn } from " $lib/utils" ;
64
63
? localStorage [" mode-watcher-mode" ].replace (/ "/ g , " " )
65
64
: " system" ;
66
65
67
- // v2 migration
68
- if (" token" in localStorage ) {
69
- toast .success (" Welcome to svelte-changelog v2!" , {
70
- description: " Thanks for visiting this site since v1 :)" ,
71
- duration: 7_500
72
- });
73
- localStorage .removeItem (" token" );
74
- }
75
- for (const key of [
76
- " displaySvelteBetaReleases" ,
77
- " displayKitBetaReleases" ,
78
- " displayOtherBetaReleases" ,
79
- " svelteMostRecentUpdate" ,
80
- " kitMostRecentUpdate" ,
81
- " othersMostRecentUpdate"
82
- ]) {
83
- localStorage .removeItem (key );
84
- }
85
-
86
66
// Legacy news key
87
67
const oldLsNewsKey = " closedNews" ;
88
68
const oldLsNewsValue = localStorage .getItem (oldLsNewsKey );
You can’t perform that action at this time.
0 commit comments