From 41838dee6bd9447d39f9f41f6ea22298a65c092a Mon Sep 17 00:00:00 2001 From: VickyStash Date: Tue, 7 Jan 2025 23:51:28 +0100 Subject: [PATCH] Test updates --- .../companyCards/addNew/BankConnection/index.native.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/workspace/companyCards/addNew/BankConnection/index.native.tsx b/src/pages/workspace/companyCards/addNew/BankConnection/index.native.tsx index f2da6bfd12e8..2c48220eed94 100644 --- a/src/pages/workspace/companyCards/addNew/BankConnection/index.native.tsx +++ b/src/pages/workspace/companyCards/addNew/BankConnection/index.native.tsx @@ -1,4 +1,5 @@ import React, {useEffect, useMemo, useRef} from 'react'; +import {Alert} from 'react-native'; import {useOnyx} from 'react-native-onyx'; import {WebView} from 'react-native-webview'; import type {ValueOf} from 'type-fest'; @@ -50,6 +51,10 @@ function BankConnection({policyID}: BankConnectionStepProps) { CompanyCards.setAddNewCompanyCardStepAndData({step: CONST.COMPANY_CARDS.STEP.SELECT_FEED_TYPE}); }; + useEffect(() => { + Alert.alert('cardFeeds?.settings?.oAuthAccountDetails', JSON.stringify(cardFeeds?.settings?.oAuthAccountDetails)); + }, [cardFeeds?.settings?.oAuthAccountDetails]); + useEffect(() => { if (!url) { return;