diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 03:23:56 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 03:24:34 +0800 |
commit | 71fa92dbeb23b94142ec3c3d33f9e3ee311f43da (patch) | |
tree | c0b96570117586834d8f11857c54955839284c52 /packages/website/ts/pages | |
parent | 2474d1d2f4cf4ae81d5d67c53005f018a0154ef5 (diff) | |
download | dexon-sol-tools-71fa92dbeb23b94142ec3c3d33f9e3ee311f43da.tar.gz dexon-sol-tools-71fa92dbeb23b94142ec3c3d33f9e3ee311f43da.tar.zst dexon-sol-tools-71fa92dbeb23b94142ec3c3d33f9e3ee311f43da.zip |
Fix NotFound component and render 0x.js docs for /docs
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r-- | packages/website/ts/pages/not_found.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/pages/not_found.tsx b/packages/website/ts/pages/not_found.tsx index 2fe3b1f45..a7992a8fa 100644 --- a/packages/website/ts/pages/not_found.tsx +++ b/packages/website/ts/pages/not_found.tsx @@ -11,15 +11,15 @@ export interface NotFoundProps { dispatcher: Dispatcher; } -export const NotFound = (_props: NotFoundProps) => { +export const NotFound = (props: NotFoundProps) => { return ( <div> - <TopBar blockchainIsLoaded={false} location={this.props.location} translate={this.props.translate} /> + <TopBar blockchainIsLoaded={false} location={props.location} translate={props.translate} /> <FullscreenMessage headerText={'404 Not Found'} bodyText={"Hm... looks like we couldn't find what you are looking for."} /> - <Footer translate={this.props.translate} dispatcher={this.props.dispatcher} /> + <Footer translate={props.translate} dispatcher={props.dispatcher} /> </div> ); }; |