From b30d0cb64968f85b340d1e170a4c025c9eedddd6 Mon Sep 17 00:00:00 2001 From: Cristi Paval Date: Wed, 20 Sep 2023 21:58:21 +0300 Subject: [PATCH] Remove SaaStr and SBE routes from the App. --- src/ROUTES.ts | 4 ---- src/libs/Navigation/linkingConfig.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/ROUTES.ts b/src/ROUTES.ts index 2c37116db395..4f88605785d3 100644 --- a/src/ROUTES.ts +++ b/src/ROUTES.ts @@ -210,10 +210,6 @@ export default { getWorkspaceTravelRoute: (policyID: string) => `workspace/${policyID}/travel`, getWorkspaceMembersRoute: (policyID: string) => `workspace/${policyID}/members`, - // These are some on-off routes that will be removed once they're no longer needed (see GH issues for details) - SAASTR: 'saastr', - SBE: 'sbe', - parseReportRouteParams: (route: string): ParseReportRouteParams => { let parsingRoute = route; if (parsingRoute.at(0) === '/') { diff --git a/src/libs/Navigation/linkingConfig.js b/src/libs/Navigation/linkingConfig.js index 11d21d6d005c..b68f32be7fbe 100644 --- a/src/libs/Navigation/linkingConfig.js +++ b/src/libs/Navigation/linkingConfig.js @@ -18,10 +18,6 @@ export default { [SCREENS.DESKTOP_SIGN_IN_REDIRECT]: ROUTES.DESKTOP_SIGN_IN_REDIRECT, [SCREENS.REPORT_ATTACHMENTS]: ROUTES.REPORT_ATTACHMENTS, - // Demo routes - [CONST.DEMO_PAGES.SAASTR]: ROUTES.SAASTR, - [CONST.DEMO_PAGES.SBE]: ROUTES.SBE, - // Sidebar [SCREENS.HOME]: { path: ROUTES.HOME,