aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/order_watcher_documentation.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-12 23:42:41 +0800
committerFabio Berger <me@fabioberger.com>2018-10-12 23:42:41 +0800
commit3ca943948184bf8d891dddb423e5b285d2463e7b (patch)
tree8ebaea53cbaabe2b871dc5719b7722ecc0c56f8d /packages/website/ts/containers/order_watcher_documentation.ts
parent36f202f7b439630e95fc28c6b928d605311676d2 (diff)
downloaddexon-0x-contracts-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.gz
dexon-0x-contracts-3ca943948184bf8d891dddb423e5b285d2463e7b.tar.zst
dexon-0x-contracts-3ca943948184bf8d891dddb423e5b285d2463e7b.zip
Make all doc reference pages responsive
Diffstat (limited to 'packages/website/ts/containers/order_watcher_documentation.ts')
-rw-r--r--packages/website/ts/containers/order_watcher_documentation.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/website/ts/containers/order_watcher_documentation.ts b/packages/website/ts/containers/order_watcher_documentation.ts
index 833380ac4..1b0c1ec91 100644
--- a/packages/website/ts/containers/order_watcher_documentation.ts
+++ b/packages/website/ts/containers/order_watcher_documentation.ts
@@ -5,7 +5,7 @@ import { Dispatch } from 'redux';
import { DocPage as DocPageComponent, DocPageProps } from 'ts/pages/documentation/doc_page';
import { Dispatcher } from 'ts/redux/dispatcher';
import { State } from 'ts/redux/reducer';
-import { DocPackages } from 'ts/types';
+import { DocPackages, ScreenWidths } from 'ts/types';
import { Translate } from 'ts/utils/translate';
/* tslint:disable:no-var-requires */
@@ -42,6 +42,7 @@ interface ConnectedState {
availableDocVersions: string[];
docsInfo: DocsInfo;
translate: Translate;
+ screenWidth: ScreenWidths;
}
interface ConnectedDispatch {
@@ -53,6 +54,7 @@ const mapStateToProps = (state: State, _ownProps: DocPageProps): ConnectedState
availableDocVersions: state.availableDocVersions,
translate: state.translate,
docsInfo,
+ screenWidth: state.screenWidth,
});
const mapDispatchToProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({