Skip to content

Commit

Permalink
Remove unused maxMonths app state
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed Jul 4, 2023
1 parent 50e4b25 commit d6bdc97
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/loot-core/src/client/actions/budgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export function loadBudget(

const prefs = getState().prefs.local;
dispatch(setAppState({ loadingText: null }));
dispatch(setAppState({ maxMonths: prefs.maxMonths }));
};
}

Expand Down
1 change: 0 additions & 1 deletion packages/loot-core/src/client/state-types/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export type AppState = {
managerHasInitialized: boolean;
lastUndoState: { current: UndoState | null };
lastSplitState: { current: SplitState | null };
maxMonths: number;
};

export type SetAppStateAction = {
Expand Down

0 comments on commit d6bdc97

Please sign in to comment.