Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lakchote committed Jul 8, 2024
1 parent 7f17094 commit 993f806
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, {useRef, useState} from 'react';
import * as PolicyAction from '@userActions/Policy/Policy';
import type {OnyxEntry} from 'react-native-onyx';
import {withOnyx} from 'react-native-onyx';
import {WebView} from 'react-native-webview';
Expand All @@ -14,12 +13,12 @@ import useNetwork from '@hooks/useNetwork';
import useThemeStyles from '@hooks/useThemeStyles';
import {removePolicyConnection} from '@libs/actions/connections';
import getQuickBooksOnlineSetupLink from '@libs/actions/connections/QuickBooksOnline';
import * as PolicyAction from '@userActions/Policy/Policy';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import type {Session} from '@src/types/onyx';
import type {ConnectToQuickbooksOnlineButtonProps} from './types';


type ConnectToQuickbooksOnlineButtonOnyxProps = {
/** Session info for the currently logged in user. */
session: OnyxEntry<Session>;
Expand Down Expand Up @@ -62,7 +61,7 @@ function ConnectToQuickbooksOnlineButton({
<AccountingConnectionConfirmationModal
onConfirm={() => {
// Since QBO doesn't support Taxes, we should disable them from the LHN when connecting to QBO
PolicyAction.enablePolicyTaxes(policyID, false);
PolicyAction.enablePolicyTaxes(policyID, false);
removePolicyConnection(policyID, integrationToDisconnect);
setIsDisconnectModalOpen(false);
setWebViewOpen(true);
Expand Down

0 comments on commit 993f806

Please sign in to comment.