Skip to content

Commit

Permalink
remove unnecessary depedencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hungvu193 committed May 3, 2024
1 parent 056648c commit 3a1be63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function XeroAdvancedPage({policy}: WithPolicyConnectionsProps) {
const selectedAccount = (bankAccounts ?? []).find((bank) => bank.id === invoiceCollectionsAccountID);

return selectedAccount?.name ?? '';
}, [sync, bankAccounts, invoiceCollectionsAccountID]);
}, [bankAccounts, invoiceCollectionsAccountID]);

return (
<ConnectionLayout
Expand Down

0 comments on commit 3a1be63

Please sign in to comment.