Skip to content

Commit

Permalink
Fix typecheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 1, 2025
1 parent bfb21b2 commit 7fc4685
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/desktop-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@fontsource/redacted-script": "^5.0.21",
"@juggle/resize-observer": "^3.4.0",
"@playwright/test": "1.41.1",
"@reduxjs/toolkit": "^2.5.0",
"@rollup/plugin-inject": "^5.0.5",
"@svgr/cli": "^8.1.0",
"@swc/core": "^1.5.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/loot-core/src/client/store/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import { type store as realStore } from './index';

const appReducer = combineReducers(reducers);

export let mockStore: typeof realStore | null = null;
export let mockStore: typeof realStore = configureStore({
reducer: appReducer,
});

export function resetMockStore() {
mockStore = configureStore({
reducer: appReducer,
});
}

resetMockStore();
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ __metadata:
"@fontsource/redacted-script": "npm:^5.0.21"
"@juggle/resize-observer": "npm:^3.4.0"
"@playwright/test": "npm:1.41.1"
"@reduxjs/toolkit": "npm:^2.5.0"
"@rollup/plugin-inject": "npm:^5.0.5"
"@svgr/cli": "npm:^8.1.0"
"@swc/core": "npm:^1.5.3"
Expand Down

0 comments on commit 7fc4685

Please sign in to comment.