MyCrypto/common/components/RouteNotFound.tsx

5 lines
150 B
TypeScript

import React from 'react';
import { Redirect } from 'react-router';
export const RouteNotFound = () => <Redirect to={{ state: { error: true } }} />;