From fa1e861d74d3f8ed638b085a7bc01d156de004ef Mon Sep 17 00:00:00 2001 From: Aldo Canepa Date: Thu, 25 Apr 2024 16:49:36 -0700 Subject: [PATCH] Lint --- src/pages/workspace/accounting/PolicyAccountingPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/workspace/accounting/PolicyAccountingPage.tsx b/src/pages/workspace/accounting/PolicyAccountingPage.tsx index f50b40789c07..00b65f871fc8 100644 --- a/src/pages/workspace/accounting/PolicyAccountingPage.tsx +++ b/src/pages/workspace/accounting/PolicyAccountingPage.tsx @@ -15,6 +15,7 @@ import Section from '@components/Section'; import ThreeDotsMenu from '@components/ThreeDotsMenu'; import type ThreeDotsMenuProps from '@components/ThreeDotsMenu/types'; import useLocalize from '@hooks/useLocalize'; +import useNetwork from '@hooks/useNetwork'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; import useWindowDimensions from '@hooks/useWindowDimensions'; @@ -31,7 +32,6 @@ import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; import type {Policy, PolicyConnectionSyncProgress} from '@src/types/onyx'; -import useNetwork from '@hooks/useNetwork'; type PolicyAccountingPageOnyxProps = { connectionSyncProgress: OnyxEntry; @@ -62,7 +62,7 @@ function PolicyAccountingPage({policy, connectionSyncProgress}: PolicyAccounting icon: Expensicons.Sync, text: translate('workspace.accounting.syncNow'), onSelected: () => syncConnection(policyID), - disabled: isOffline + disabled: isOffline, }, { icon: Expensicons.Trashcan,