Skip to content

Commit

Permalink
Remove action imports
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 14, 2025
1 parent 819eed5 commit 27fbc36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/desktop-client/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { bindActionCreators } from '@reduxjs/toolkit';
import { createRoot } from 'react-dom/client';

import * as accountsSlice from 'loot-core/src/client/accounts/accountsSlice';
import * as actions from 'loot-core/src/client/actions';
import * as appSlice from 'loot-core/src/client/app/appSlice';
import * as budgetsSlice from 'loot-core/src/client/budgets/budgetsSlice';
import * as modalsSlice from 'loot-core/src/client/modals/modalsSlice';
Expand All @@ -39,7 +38,6 @@ import 'focus-visible';

const boundActions = bindActionCreators(
{
...actions,
...accountsSlice.actions,
...appSlice.actions,
...budgetsSlice.actions,
Expand Down
2 changes: 1 addition & 1 deletion packages/loot-core/src/client/app/appSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { getUploadError } from '../../shared/errors';
import { type AccountEntity } from '../../types/models';
import { type AtLeastOne } from '../../types/util';
import { syncAccounts } from '../accounts/accountsSlice';
import { loadPrefs } from '../actions';
import { pushModal } from '../modals/modalsSlice';
import { createAppAsyncThunk } from '../redux';
import { loadPrefs } from '../prefs/prefsSlice';

Check warning on line 10 in packages/loot-core/src/client/app/appSlice.ts

View workflow job for this annotation

GitHub Actions / lint

`../prefs/prefsSlice` import should occur before import of `../redux`

const sliceName = 'app';

Expand Down

0 comments on commit 27fbc36

Please sign in to comment.