diff --git a/ui/components/multichain/pages/connections/connections.js b/ui/components/multichain/pages/connections/connections.js new file mode 100644 index 000000000..78232d739 --- /dev/null +++ b/ui/components/multichain/pages/connections/connections.js @@ -0,0 +1,5 @@ +import React from 'react'; + +export const Connections = () => { + return
; +}; diff --git a/ui/components/multichain/pages/connections/index.js b/ui/components/multichain/pages/connections/index.js new file mode 100644 index 000000000..70406a9da --- /dev/null +++ b/ui/components/multichain/pages/connections/index.js @@ -0,0 +1 @@ +export { Connections } from './connections'; diff --git a/ui/components/multichain/pages/index.js b/ui/components/multichain/pages/index.js new file mode 100644 index 000000000..70406a9da --- /dev/null +++ b/ui/components/multichain/pages/index.js @@ -0,0 +1 @@ +export { Connections } from './connections'; diff --git a/ui/helpers/constants/routes.ts b/ui/helpers/constants/routes.ts index ccd2631ec..55075195d 100644 --- a/ui/helpers/constants/routes.ts +++ b/ui/helpers/constants/routes.ts @@ -37,6 +37,7 @@ const INTERACTIVE_REPLACEMENT_TOKEN_PAGE = '/interactive-replacement-token-page'; ///: END:ONLY_INCLUDE_IN const SEND_ROUTE = '/send'; +const CONNECTIONS = '/connections'; const TOKEN_DETAILS = '/token-details'; const CONNECT_ROUTE = '/connect'; const CONNECT_CONFIRM_PERMISSIONS_ROUTE = '/confirm-permissions'; @@ -145,6 +146,7 @@ const PATH_NAME_MAP = { [INTERACTIVE_REPLACEMENT_TOKEN_PAGE]: 'Interactive replacement token page', ///: END:ONLY_INCLUDE_IN [SEND_ROUTE]: 'Send Page', + [CONNECTIONS]: 'Connections', [`${TOKEN_DETAILS}/:address`]: 'Token Details Page', [`${CONNECT_ROUTE}/:id`]: 'Connect To Site Confirmation Page', [`${CONNECT_ROUTE}/:id${CONNECT_CONFIRM_PERMISSIONS_ROUTE}`]: @@ -202,6 +204,7 @@ export { CONFIRM_ADD_SUGGESTED_NFT_ROUTE, CONNECT_HARDWARE_ROUTE, SEND_ROUTE, + CONNECTIONS, TOKEN_DETAILS, CONFIRM_TRANSACTION_ROUTE, CONFIRM_SEND_ETHER_PATH, diff --git a/ui/pages/routes/routes.component.js b/ui/pages/routes/routes.component.js index c66efe967..1fb4f4aad 100644 --- a/ui/pages/routes/routes.component.js +++ b/ui/pages/routes/routes.component.js @@ -12,6 +12,7 @@ import SendTransactionScreen from '../send'; import Swaps from '../swaps'; import ConfirmTransaction from '../confirm-transaction'; import Home from '../home'; +import { Connections } from '../../components/multichain/pages'; import Settings from '../settings'; import Authenticated from '../../helpers/higher-order-components/authenticated'; import Initialized from '../../helpers/higher-order-components/initialized'; @@ -78,6 +79,7 @@ import { ONBOARDING_ROUTE, ONBOARDING_UNLOCK_ROUTE, TOKEN_DETAILS, + CONNECTIONS, ///: BEGIN:ONLY_INCLUDE_IN(build-mmi) INSTITUTIONAL_FEATURES_DONE_ROUTE, CUSTODY_ACCOUNT_DONE_ROUTE, @@ -352,6 +354,9 @@ export default class Routes extends Component { /> ///: END:ONLY_INCLUDE_IN } + {process.env.MULTICHAIN && ( +