James Prado b7ba8ac22d Routing Improvements (#859)
* 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
2018-01-22 06:24:05 -06:00

23 lines
704 B
TypeScript

import React from 'react';
import { Link } from 'react-router-dom';
import TabSection from '../../containers/TabSection/index';
import './PageNotFound.scss';
const PageNotFound: React.SFC = () => (
<TabSection>
<section className="Tab-content PageNotFound">
<div className="Tab-content-pane">
<h1 className="PageNotFound-header">/ \</h1>
<main role="main">
<p className="PageNotFound-content">
Meow! Something went wrong and the page you were looking for doesn't yet exist. Try the{' '}
<Link to="/">home page</Link>.
</p>
</main>
</div>
</section>
</TabSection>
);
export default PageNotFound;