From 3a1be633a68a2d6af9dc559f8e99e883744bcfea Mon Sep 17 00:00:00 2001 From: Hans Date: Fri, 3 May 2024 22:39:55 +0700 Subject: [PATCH] remove unnecessary depedencies --- .../workspace/accounting/xero/advanced/XeroAdvancedPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx b/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx index 694176523a05..516180145406 100644 --- a/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx +++ b/src/pages/workspace/accounting/xero/advanced/XeroAdvancedPage.tsx @@ -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 (