From d998746adf1d3ea3501191b6cba7d8a59de3256a Mon Sep 17 00:00:00 2001 From: Artem Makushov Date: Fri, 22 Nov 2024 14:19:27 +0100 Subject: [PATCH] revert expensify card loading --- .../workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx index 20cb74a6a2b1..97cadec3ca1a 100644 --- a/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx +++ b/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx @@ -36,8 +36,7 @@ function WorkspaceExpensifyCardPage({route}: WorkspaceExpensifyCardPageProps) { useFocusEffect(fetchExpensifyCards); const paymentBankAccountID = cardSettings?.paymentBankAccountID ?? 0; - const isLoading = !isOffline && !cardSettings; - + const isLoading = !isOffline && (!cardSettings || (cardSettings.isLoading && !cardsList)); return (