fix linting

This commit is contained in:
2025-06-07 18:09:04 -06:00
parent 8e05b251d4
commit b5ebb16ad9

View File

@@ -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.)", 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 () => { onYes: async () => {
const platformService = PlatformServiceFactory.getInstance(); const platformService = PlatformServiceFactory.getInstance();
await platformService.dbExec( await platformService.dbExec(`DELETE FROM accounts WHERE id = ?`, [
`DELETE FROM accounts WHERE id = ?`, id,
[id], ]);
);
if (USE_DEXIE_DB) { if (USE_DEXIE_DB) {
// one of the few times we use accountsDBPromise directly; try to avoid more usage // one of the few times we use accountsDBPromise directly; try to avoid more usage
const accountsDB = await accountsDBPromise; const accountsDB = await accountsDBPromise;