mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 18:45:38 +00:00
b7ba8ac22d
* Nest Routes * Update routing for subtabs * Revert 'remove subtabs component' * Update contract routes * Update subtabs component * Remove typo * Update routing to handle disabled subroutes * add disable prop to request payment tab * Update request payment disabled condition * Add CaptureRouteNotFound & RouteNotFound components * Update ENS routing * Remove any type * Display 404 before unlocking wallet
5 lines
150 B
TypeScript
5 lines
150 B
TypeScript
import React from 'react';
|
|
import { Redirect } from 'react-router';
|
|
|
|
export const RouteNotFound = () => <Redirect to={{ state: { error: true } }} />;
|