From 9571be27d210b981171f505c42c8b403df47d9c2 Mon Sep 17 00:00:00 2001 From: daledah Date: Fri, 10 Jan 2025 14:55:59 +0700 Subject: [PATCH 1/2] fix: show offline indicator on get physical card page --- src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx b/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx index 69976f8387dd..60c239108f42 100644 --- a/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx +++ b/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx @@ -184,7 +184,6 @@ function BaseGetPhysicalCard({ return ( Date: Mon, 13 Jan 2025 11:02:07 +0700 Subject: [PATCH 2/2] fix lint --- src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx b/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx index 60c239108f42..be49a6014f98 100644 --- a/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx +++ b/src/pages/settings/Wallet/Card/BaseGetPhysicalCard.tsx @@ -168,7 +168,7 @@ function BaseGetPhysicalCard({ (validateCode: string) => { setCurrentCardID(cardToBeIssued?.cardID.toString()); const updatedPrivatePersonalDetails = GetPhysicalCardUtils.getUpdatedPrivatePersonalDetails(draftValues, privatePersonalDetails); - Wallet.requestPhysicalExpensifyCard(cardToBeIssued?.cardID ?? -1, session?.authToken ?? '', updatedPrivatePersonalDetails, validateCode); + Wallet.requestPhysicalExpensifyCard(cardToBeIssued?.cardID ?? CONST.DEFAULT_NUMBER_ID, session?.authToken ?? '', updatedPrivatePersonalDetails, validateCode); }, [cardToBeIssued?.cardID, draftValues, session?.authToken, privatePersonalDetails], );