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 Apr 2, 2024
1 parent b97ce1c commit ecc93ca
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,14 @@ function BudgetMenu({
name: 'toggle-hidden-categories',
text: 'Toggle hidden categories',
},
isReportBudgetEnabled
? {
name: 'switch-budget-type',
text: 'Switch budget type',
}
: undefined,
...(isReportBudgetEnabled
? [
{
name: 'switch-budget-type',
text: 'Switch budget type',
},
]
: []),
]}
/>
);
Expand Down

0 comments on commit ecc93ca

Please sign in to comment.