diff --git a/src/pages/workspace/accounting/WorkspaceAccountingPage.tsx b/src/pages/workspace/accounting/WorkspaceAccountingPage.tsx index 3cceaccbf8d5..2c87e8803be6 100644 --- a/src/pages/workspace/accounting/WorkspaceAccountingPage.tsx +++ b/src/pages/workspace/accounting/WorkspaceAccountingPage.tsx @@ -20,6 +20,7 @@ import useThemeStyles from '@hooks/useThemeStyles'; import useWindowDimensions from '@hooks/useWindowDimensions'; import AdminPolicyAccessOrNotFoundWrapper from '@pages/workspace/AdminPolicyAccessOrNotFoundWrapper'; import FeatureEnabledAccessOrNotFoundWrapper from '@pages/workspace/FeatureEnabledAccessOrNotFoundWrapper'; +import PaidPolicyAccessOrNotFoundWrapper from '@pages/workspace/PaidPolicyAccessOrNotFoundWrapper'; import withPolicy from '@pages/workspace/withPolicy'; import type {WithPolicyProps} from '@pages/workspace/withPolicy'; import type {AnchorPosition} from '@styles/index'; @@ -160,17 +161,7 @@ function WorkspaceAccountingPage({policy}: WithPolicyProps) { }, ]), ], - [ - translate, - theme.spinner, - isSyncInProgress, - overflowMenu, - threeDotsMenuPosition, - styles.popoverMenuIcon, - threeDotsMenuContainerRef, - styles.sectionMenuItemTopDescription, - styles.mt3, - ], + [translate, theme.spinner, isSyncInProgress, overflowMenu, threeDotsMenuPosition, styles.popoverMenuIcon, threeDotsMenuContainerRef, styles.sectionMenuItemTopDescription], ); const headerThreeDotsMenuItems: ThreeDotsMenuProps['menuItems'] = [ @@ -190,52 +181,54 @@ function WorkspaceAccountingPage({policy}: WithPolicyProps) { return ( - - + - - - -
- -
-
-
- {}} - onCancel={() => setIsDisconnectModalOpen(false)} - prompt={translate('workspace.accounting.disconnectPrompt')} - confirmText={translate('workspace.accounting.disconnect')} - cancelText={translate('common.cancel')} - danger - /> -
-
+ + + + +
+ +
+
+
+ {}} + onCancel={() => setIsDisconnectModalOpen(false)} + prompt={translate('workspace.accounting.disconnectPrompt')} + confirmText={translate('workspace.accounting.disconnect')} + cancelText={translate('common.cancel')} + danger + /> +
+ +
); }