Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 8, 2025
1 parent 5867e42 commit e1b59ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ export function CloseAccountModal({
onClick={() => {
setLoading(true);
dispatch(
closeAccount({ accountId: account.id, forced: true }),
closeAccount({
accountId: account.id,
forced: true,
}),
);
close();
}}
Expand Down
11 changes: 6 additions & 5 deletions packages/desktop-client/src/components/sidebar/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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,
Expand Down Expand Up @@ -199,7 +200,7 @@ export function Account<FieldName extends SheetFields<'account'>>({
account: {
...account,
name: newAccountName,
}
},
}),
);
}
Expand Down

0 comments on commit e1b59ad

Please sign in to comment.