mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
adds custody page route to account routes (#18985)
This commit is contained in:
parent
28b3490e7c
commit
bf0a70dbba
@ -6,7 +6,13 @@ import {
|
||||
CONNECT_HARDWARE_ROUTE,
|
||||
IMPORT_ACCOUNT_ROUTE,
|
||||
NEW_ACCOUNT_ROUTE,
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
||||
CUSTODY_ACCOUNT_ROUTE,
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
} from '../../helpers/constants/routes';
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
||||
import CustodyPage from '../institutional/custody';
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
import ConnectHardwareForm from './connect-hardware';
|
||||
import NewAccountImportForm from './import-account';
|
||||
import NewAccountCreateForm from './new-account.container';
|
||||
@ -30,6 +36,11 @@ export default function CreateAccountPage() {
|
||||
path={CONNECT_HARDWARE_ROUTE}
|
||||
component={ConnectHardwareForm}
|
||||
/>
|
||||
{
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
|
||||
<Route exact path={CUSTODY_ACCOUNT_ROUTE} component={CustodyPage} />
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
}
|
||||
</Switch>
|
||||
</Box>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user