diff --git a/packages/desktop-client/src/components/modals/CloseAccountModal.tsx b/packages/desktop-client/src/components/modals/CloseAccountModal.tsx index 45900f70587..2f26b02f2ba 100644 --- a/packages/desktop-client/src/components/modals/CloseAccountModal.tsx +++ b/packages/desktop-client/src/components/modals/CloseAccountModal.tsx @@ -253,7 +253,10 @@ export function CloseAccountModal({ onClick={() => { setLoading(true); dispatch( - closeAccount({ accountId: account.id, forced: true }), + closeAccount({ + accountId: account.id, + forced: true, + }), ); close(); }} diff --git a/packages/desktop-client/src/components/sidebar/Account.tsx b/packages/desktop-client/src/components/sidebar/Account.tsx index 7dee0b0a56b..c6668bb8dee 100644 --- a/packages/desktop-client/src/components/sidebar/Account.tsx +++ b/packages/desktop-client/src/components/sidebar/Account.tsx @@ -3,10 +3,12 @@ import React, { type CSSProperties, useRef, useState } from 'react'; import { css, cx } from '@emotion/css'; -import { - openAccountCloseModal, -} from 'loot-core/client/actions'; +import { openAccountCloseModal } from 'loot-core/client/actions'; import * as Platform from 'loot-core/client/platform'; +import { + reopenAccount, + updateAccount, +} from 'loot-core/client/queries/queriesSlice'; import { type AccountEntity } from 'loot-core/src/types/models'; import { useContextMenu } from '../../hooks/useContextMenu'; @@ -32,7 +34,6 @@ import { } from '../sort'; import { type SheetFields, type Binding } from '../spreadsheet'; import { CellValue } from '../spreadsheet/CellValue'; -import { reopenAccount, updateAccount } from 'loot-core/client/queries/queriesSlice'; export const accountNameStyle: CSSProperties = { marginTop: -2, @@ -199,7 +200,7 @@ export function Account>({ account: { ...account, name: newAccountName, - } + }, }), ); }