Skip to content

Commit

Permalink
fix: startup bad migration
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Apr 29, 2024
1 parent 87144d9 commit ddd1b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/Utils/Login/MultiAccountStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
delete acc["tags"];
didMigrate = true;
}
if (acc.state.appdata) {
if (acc.state && acc.state.appdata) {
if ("id" in acc.state.appdata) {
delete acc.state.appdata["id"];
didMigrate = true;
Expand Down

0 comments on commit ddd1b3e

Please sign in to comment.