Skip to content

Commit

Permalink
Fix react-hooks/exhaustive-deps error on Titlebar.tsx (#4273)
Browse files Browse the repository at this point in the history
* Fix react-hooks/exhaustive-deps error on Titlebar.tsx

* Release notes
  • Loading branch information
joel-jeremy authored Feb 19, 2025
1 parent 10c35e1 commit bf72a26
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 0 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,6 @@ export default [
'packages/desktop-client/src/components/sort.tsx',
'packages/desktop-client/src/components/spreadsheet/useSheetValue.ts',
'packages/desktop-client/src/components/table.tsx',
'packages/desktop-client/src/components/Titlebar.tsx',
'packages/desktop-client/src/components/transactions/MobileTransaction.jsx',
'packages/desktop-client/src/components/transactions/SelectedTransactions.jsx',
'packages/desktop-client/src/components/transactions/SimpleTransactionsTable.jsx',
'packages/desktop-client/src/components/transactions/TransactionList.jsx',
'packages/desktop-client/src/components/transactions/TransactionsTable.jsx',
'packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx',
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-client/src/components/Titlebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function SyncButton({ style, isMobile = false }: SyncButtonProps) {
});

return unlisten;
}, []);
}, [cloudFileId]);

const mobileColor =
syncState === 'error'
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4273.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [joel-jeremy]
---

Fix react-hooks/exhaustive-deps error on Titlebar.tsx

0 comments on commit bf72a26

Please sign in to comment.