diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-11-27 18:00:32 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-11-29 02:59:54 +0800 |
commit | 16ddd21a5f418cb1e421657a903c3aaf8064b62a (patch) | |
tree | 863e1a3cf9c0f7269a41c7c75e55b56d2b51b1ed /packages/website/ts/containers | |
parent | 6c43fa8f7253083bb5e50a3f8940f35d105c8bf1 (diff) | |
download | dexon-0x-contracts-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.gz dexon-0x-contracts-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.zst dexon-0x-contracts-16ddd21a5f418cb1e421657a903c3aaf8064b62a.zip |
feat(website): instant features section
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r-- | packages/website/ts/containers/instant.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/containers/instant.ts b/packages/website/ts/containers/instant.ts index 9bcfb903b..12ae7454e 100644 --- a/packages/website/ts/containers/instant.ts +++ b/packages/website/ts/containers/instant.ts @@ -4,10 +4,12 @@ import { Dispatch } from 'redux'; import { Instant as InstantComponent, InstantProps } from 'ts/pages/instant/instant'; 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: InstantProps): ConnectedState => ({ translate: state.translate, + screenWidth: state.screenWidth, }); const mapDispatchToProps = (dispatch: Dispatch<State>): ConnectedDispatch => ({ |