Skip to content

Commit

Permalink
[WIP] fix toggleSpentColumn being called on every render (#3333)
Browse files Browse the repository at this point in the history
* fix toggleSpentColumn being called on every render

* release notes
  • Loading branch information
tim-smart authored Aug 31, 2024
1 parent 7738ea0 commit 3a905d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ function BudgetTableHeader({
<Button
variant="bare"
isDisabled={show3Cols}
onPress={toggleSpentColumn()}
onPress={toggleSpentColumn}
style={buttonStyle}
>
<View style={{ alignItems: 'flex-end' }}>
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/3333.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [tim-smart]
---

Fix toggleSpentColumn being called on every render on mobile

0 comments on commit 3a905d3

Please sign in to comment.