diff --git a/src/lib/util/migrations.ts b/src/lib/util/migrations.ts index 40b6a1bc..1792d71b 100644 --- a/src/lib/util/migrations.ts +++ b/src/lib/util/migrations.ts @@ -1,5 +1,5 @@ import { writable, get, type Writable } from 'svelte/store'; -import { persist, localStorage } from '@macfja/svelte-persistent-store'; +import { persist, createLocalStorage } from '@macfja/svelte-persistent-store'; import { injectHistoryIDs } from '$lib/components/history/history'; import { logEvent } from './stats'; @@ -13,7 +13,7 @@ const migrations: { [key: string]: () => void } = { const migrationStore: Writable = persist( writable({ version: -1 }), - localStorage(), + createLocalStorage(), 'migrations' );