Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 10, 2025
1 parent a4c7bfd commit d363922
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/desktop-client/src/components/Modals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function Modals() {
return (
<SelectLinkedAccountsModal
key={name}
externalAccounts={modal.options.accounts}
externalAccounts={modal.options.externalAccounts}
requisitionId={modal.options.requisitionId}
syncSource={modal.options.syncSource}
/>
Expand Down Expand Up @@ -189,7 +189,7 @@ export function Modals() {
return (
<EditRuleModal
key={name}
defaultRule={modal.options.rule}
rule={modal.options.rule}
onSave={modal.options.onSave}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next';
import { loadBackup, makeBackup } from 'loot-core/client/actions';
import { type Modal as ModalType } from 'loot-core/client/modals/modalsSlice';
import { type Backup } from 'loot-core/server/backups';
import { send, listen, unlisten } from 'loot-core/src/platform/client/fetch';
import { send, listen } from 'loot-core/src/platform/client/fetch';

import { useMetadataPref } from '../../hooks/useMetadataPref';
import { useAppDispatch } from '../../redux';
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4119.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [joel-jeremy]
---

Phase 2 - Redux Toolkit Migration - modals slice

0 comments on commit d363922

Please sign in to comment.