From e95e4cd23db1c1cbdb21433606e1e11701ae680a Mon Sep 17 00:00:00 2001 From: Shubham Agrawal Date: Mon, 25 Nov 2024 18:57:45 +0530 Subject: [PATCH] Revert: Fix blank import per diem page --- src/pages/workspace/perDiem/ImportedPerDiemPage.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/workspace/perDiem/ImportedPerDiemPage.tsx b/src/pages/workspace/perDiem/ImportedPerDiemPage.tsx index 6fbbd280d834..9a0759b3608a 100644 --- a/src/pages/workspace/perDiem/ImportedPerDiemPage.tsx +++ b/src/pages/workspace/perDiem/ImportedPerDiemPage.tsx @@ -15,7 +15,6 @@ import {findDuplicate, generateColumnNames} from '@libs/importSpreadsheetUtils'; import Navigation from '@libs/Navigation/Navigation'; import type {SettingsNavigatorParamList} from '@libs/Navigation/types'; import {getPerDiemCustomUnit} from '@libs/PolicyUtils'; -import NotFoundPage from '@pages/ErrorPage/NotFoundPage'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; @@ -129,7 +128,7 @@ function ImportedPerDiemPage({route}: ImportedPerDiemPageProps) { const spreadsheetColumns = spreadsheet?.data; if (!spreadsheetColumns) { - return Navigation.goBack(ROUTES.WORKSPACE_PER_DIEM_IMPORT.getRoute(policyID))} />; + return; } const closeImportPageAndModal = () => {