Browse Source

fix linting

master
Trent Larson 16 hours ago
parent
commit
722020ea86
  1. 7
      src/views/IdentitySwitcherView.vue

7
src/views/IdentitySwitcherView.vue

@ -187,10 +187,9 @@ export default class IdentitySwitcherView extends Vue {
text: "Are you sure you want to erase this identity? (There is no undo. You may want to select it and back it up just in case.)",
onYes: async () => {
const platformService = PlatformServiceFactory.getInstance();
await platformService.dbExec(
`DELETE FROM accounts WHERE id = ?`,
[id],
);
await platformService.dbExec(`DELETE FROM accounts WHERE id = ?`, [
id,
]);
if (USE_DEXIE_DB) {
// one of the few times we use accountsDBPromise directly; try to avoid more usage
const accountsDB = await accountsDBPromise;

Loading…
Cancel
Save