Update settings' version which migrating old settings
This commit is contained in:
parent
6c271fbbcb
commit
9b6d8656e8
@ -35,6 +35,7 @@ export function syncUserSettings() {
|
||||
|
||||
|
||||
const synced = {...defaultSettings, ...parsedUserSettings}
|
||||
synced.version = import.meta.env.SAFETWITCH_TAG
|
||||
localStorage.setItem('settings', JSON.stringify(synced))
|
||||
console.log('Migrated!')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user