Skip to content

Commit

Permalink
Update packages/loot-core/src/client/actions/budgets.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Matiss Janis Aboltins <[email protected]>
  • Loading branch information
MikesGlitch and MatissJanis committed Dec 2, 2023
1 parent 946800c commit 90054c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loot-core/src/client/actions/budgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function closeBudgetUI() {
};
}

export function deleteBudget(id: string | undefined, cloudFileId?: string) {
export function deleteBudget(id?: string, cloudFileId?: string) {
return async (dispatch: Dispatch) => {
await send('delete-budget', { id, cloudFileId });
await dispatch(loadAllFiles());
Expand Down

0 comments on commit 90054c0

Please sign in to comment.