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 77 import { ProgressBar } from " @prgm/sveltekit-progress-bar" ;
88 import { ModeWatcher , resetMode , setMode } from " mode-watcher" ;
99 import { MetaTags , deepMerge } from " svelte-meta-tags" ;
10- import { toast } from " svelte-sonner" ;
1110 import { news } from " $lib/news/news.json" ;
1211 import type { Entries } from " $lib/types" ;
1312 import { cn } from " $lib/utils" ;
6463 ? localStorage [" mode-watcher-mode" ].replace (/ "/ g , " " )
6564 : " system" ;
6665
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-
8666 // Legacy news key
8767 const oldLsNewsKey = " closedNews" ;
8868 const oldLsNewsValue = localStorage .getItem (oldLsNewsKey );
You can’t perform that action at this time.
0 commit comments