Skip to content

Commit

Permalink
Remove SaaStr and SBE routes from the App.
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipaval committed Sep 20, 2023
1 parent 94c07ea commit b30d0cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) === '/') {
Expand Down
4 changes: 0 additions & 4 deletions src/libs/Navigation/linkingConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b30d0cb

Please sign in to comment.