From 71fa92dbeb23b94142ec3c3d33f9e3ee311f43da Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Thu, 28 Jun 2018 12:23:56 -0700 Subject: Fix NotFound component and render 0x.js docs for /docs --- packages/website/ts/index.tsx | 1 + packages/website/ts/pages/not_found.tsx | 6 +++--- packages/website/ts/types.ts | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'packages/website/ts') diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index 249b4fdc9..23387a95a 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -97,6 +97,7 @@ render( + { +export const NotFound = (props: NotFoundProps) => { return (
- + -
); }; diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts index 2db947ba3..3211ddbd0 100644 --- a/packages/website/ts/types.ts +++ b/packages/website/ts/types.ts @@ -356,6 +356,7 @@ export enum WebsiteLegacyPaths { export enum WebsitePaths { Portal = '/portal', Wiki = '/wiki', + Docs = '/docs', ZeroExJs = '/docs/0x.js', Home = '/', FAQ = '/faq', -- cgit v1.2.3