aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers/wiki.ts
diff options
context:
space:
mode:
authorKadinsky <kandinsky454@protonmail.ch>2018-10-18 19:14:32 +0800
committerGitHub <noreply@github.com>2018-10-18 19:14:32 +0800
commit47dc384ea36fecbcf01eb9b3f20936331b43a0c6 (patch)
treee53a0c2d20b9f3271916144528f2214b32a3a83a /packages/website/ts/containers/wiki.ts
parentc333d093b585fa0250a6973f2d396eb3cf227334 (diff)
parente7c6f2a35795610645598deba2c14ceeda6acc89 (diff)
downloaddexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar
dexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.gz
dexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.bz2
dexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.lz
dexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.xz
dexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.tar.zst
dexon-sol-tools-47dc384ea36fecbcf01eb9b3f20936331b43a0c6.zip
Merge pull request #1140 from 0xProject/reSkinReferenceDocs
Move Doc Reference Pages & Wiki into Developer Section of Website
Diffstat (limited to 'packages/website/ts/containers/wiki.ts')
-rw-r--r--packages/website/ts/containers/wiki.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/containers/wiki.ts b/packages/website/ts/containers/wiki.ts
index 357f8bbf4..069b0ae54 100644
--- a/packages/website/ts/containers/wiki.ts
+++ b/packages/website/ts/containers/wiki.ts
@@ -4,10 +4,12 @@ import { Dispatch } from 'redux';
import { Wiki as WikiComponent, WikiProps } from 'ts/pages/wiki/wiki';
import { Dispatcher } from 'ts/redux/dispatcher';
import { State } from 'ts/redux/reducer';
+import { ScreenWidths } from 'ts/types';
import { Translate } from 'ts/utils/translate';
interface ConnectedState {
translate: Translate;
+ screenWidth: ScreenWidths;
}
interface ConnectedDispatch {
@@ -16,6 +18,7 @@ interface ConnectedDispatch {
const mapStateToProps = (state: State, _ownProps: WikiProps): ConnectedState => ({
translate: state.translate,
+ screenWidth: state.screenWidth,
});
const mapDispatchToProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({