0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00

Update settings' version which migrating old settings

This commit is contained in:
dragongoose 2023-08-18 15:04:58 -04:00
parent 6c271fbbcb
commit 9b6d8656e8
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5

View file

@ -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!')
}