Skip to content

Commit

Permalink
Fix TS in Report file
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-solecki committed Dec 20, 2024
1 parent 10bacbf commit 4132cab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 4132cab

Please sign in to comment.