mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 18:40:34 -05:00
Fix react-hooks/exhaustive-deps error on useProperFocus.tsx (#4259)
* Fix react-hooks/exhaustive-deps error on useProperFocus.tsx * Remove comment in eslint config * Release notes
This commit is contained in:
committed by
GitHub
parent
def06693ab
commit
a085945898
@@ -796,7 +796,6 @@ export default [
|
||||
'packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx',
|
||||
// 'packages/desktop-client/src/hooks/useAccounts.ts',
|
||||
'packages/desktop-client/src/hooks/useCategories.ts',
|
||||
'packages/desktop-client/src/hooks/useProperFocus.tsx',
|
||||
],
|
||||
|
||||
rules: {
|
||||
|
||||
@@ -98,5 +98,5 @@ export function useProperFocus(
|
||||
}
|
||||
|
||||
prevShouldFocus.current = shouldFocus;
|
||||
}, [shouldFocus]);
|
||||
}, [context, ref, shouldFocus]);
|
||||
}
|
||||
|
||||
6
upcoming-release-notes/4259.md
Normal file
6
upcoming-release-notes/4259.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
Fix react-hooks/exhaustive-deps error on useProperFocus.tsx
|
||||
Reference in New Issue
Block a user