Refactor the topLevel documentation react components for 0x.js and Smart contracts into a single component
This commit is contained in:
@@ -78,16 +78,25 @@ const LazyPortal = createLazyComponent(
|
||||
'Portal', async () => System.import<any>(/* webpackChunkName: "portal" */'ts/containers/portal'),
|
||||
);
|
||||
const LazyZeroExJSDocumentation = createLazyComponent(
|
||||
'ZeroExJSDocumentation',
|
||||
'Documentation',
|
||||
async () => System.import<any>(/* webpackChunkName: "zeroExDocs" */'ts/containers/zero_ex_js_documentation'),
|
||||
);
|
||||
const LazySmartContractsDocumentation = createLazyComponent(
|
||||
'SmartContractsDocumentation',
|
||||
'Documentation',
|
||||
async () => System.import<any>(
|
||||
/* webpackChunkName: "smartContractDocs" */'ts/containers/smart_contracts_documentation',
|
||||
),
|
||||
);
|
||||
|
||||
const docs = class Documentation extends
|
||||
React.Component<any, any> {
|
||||
public render() {
|
||||
return (
|
||||
<div>hlwkdjaeljdflajfesli</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
const store: ReduxStore<State> = createStore(reducer);
|
||||
render(
|
||||
<Router>
|
||||
|
||||
Reference in New Issue
Block a user