Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Feb 25, 2024
1 parent 44fe427 commit 1ceaddf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import WorkspacePageWithSections from '@pages/workspace/WorkspacePageWithSection
import * as Policy from '@userActions/Policy';
import CONST from '@src/CONST';
import type SCREENS from '@src/SCREENS';
import type {PendingAction} from '@src/types/onyx/OnyxCommon';
import ToggleSettingOptionRow from './ToggleSettingsOptionRow';
import type {ToggleSettingOptionRowProps} from './ToggleSettingsOptionRow';

Expand Down Expand Up @@ -60,7 +59,7 @@ function WorkspaceWorkflowsPage({policy, route}: WorkspaceWorkflowsPageProps) {
/>
),
isActive: policy?.harvesting?.enabled ?? false,
pendingAction: policy?.pendingFields?.isAutoApprovalEnabled as PendingAction,
pendingAction: policy?.pendingFields?.isAutoApprovalEnabled,
},
{
icon: Illustrations.Approval,
Expand All @@ -83,7 +82,7 @@ function WorkspaceWorkflowsPage({policy, route}: WorkspaceWorkflowsPageProps) {
/>
),
isActive: policy?.isAutoApprovalEnabled ?? false,
pendingAction: policy?.pendingFields?.approvalMode as PendingAction,
pendingAction: policy?.pendingFields?.approvalMode,
},
{
icon: Illustrations.WalletAlt,
Expand Down

0 comments on commit 1ceaddf

Please sign in to comment.