From 4132cab45aba46c1f9f8fbf647f4ef900777bb99 Mon Sep 17 00:00:00 2001 From: Filip Solecki Date: Fri, 20 Dec 2024 12:12:40 +0100 Subject: [PATCH] Fix TS in Report file --- src/libs/actions/Report.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index fc3a6fe0b5c6..2260be0b370b 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -92,6 +92,7 @@ import CONFIG from '@src/CONFIG'; import type {OnboardingAccounting, OnboardingCompanySize} from '@src/CONST'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; +import type {Route} from '@src/ROUTES'; import ROUTES from '@src/ROUTES'; import INPUT_IDS from '@src/types/form/NewRoomForm'; import type { @@ -2884,7 +2885,7 @@ function openReportFromDeepLink(url: string) { return; } - Navigation.navigate(route, CONST.NAVIGATION.ACTION_TYPE.PUSH); + Navigation.navigate(route as Route, CONST.NAVIGATION.ACTION_TYPE.PUSH); }; // We need skip deeplinking if the user hasn't completed the guided setup flow.