From feab36710d43461a32f6cbb90d5cd6ad620d95a4 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 11 Sep 2020 09:32:54 -0300 Subject: [PATCH] Remove unused connections route (#9394) This route was used for the "Connections" page in Settings, which was removed in #7004 --- ui/app/helpers/constants/routes.js | 2 -- ui/app/pages/settings/settings.container.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/ui/app/helpers/constants/routes.js b/ui/app/helpers/constants/routes.js index 4dcb62670..a5786fc2e 100644 --- a/ui/app/helpers/constants/routes.js +++ b/ui/app/helpers/constants/routes.js @@ -4,7 +4,6 @@ const LOCK_ROUTE = '/lock' const ASSET_ROUTE = '/asset' const SETTINGS_ROUTE = '/settings' const GENERAL_ROUTE = '/settings/general' -const CONNECTIONS_ROUTE = '/settings/connections' const ADVANCED_ROUTE = '/settings/advanced' const SECURITY_ROUTE = '/settings/security' const ABOUT_US_ROUTE = '/settings/about-us' @@ -95,7 +94,6 @@ export { ADVANCED_ROUTE, SECURITY_ROUTE, GENERAL_ROUTE, - CONNECTIONS_ROUTE, ABOUT_US_ROUTE, CONTACT_LIST_ROUTE, CONTACT_EDIT_ROUTE, diff --git a/ui/app/pages/settings/settings.container.js b/ui/app/pages/settings/settings.container.js index f1881581b..8336c0314 100644 --- a/ui/app/pages/settings/settings.container.js +++ b/ui/app/pages/settings/settings.container.js @@ -8,7 +8,6 @@ import { getEnvironmentType } from '../../../../app/scripts/lib/util' import { getMostRecentOverviewPage } from '../../ducks/history/history' import { - CONNECTIONS_ROUTE, ADVANCED_ROUTE, SECURITY_ROUTE, GENERAL_ROUTE, @@ -27,7 +26,6 @@ import Settings from './settings.component' const ROUTES_TO_I18N_KEYS = { [GENERAL_ROUTE]: 'general', - [CONNECTIONS_ROUTE]: 'connections', [ADVANCED_ROUTE]: 'advanced', [SECURITY_ROUTE]: 'securityAndPrivacy', [ABOUT_US_ROUTE]: 'about',