aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-27 18:00:32 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-29 02:59:54 +0800
commit16ddd21a5f418cb1e421657a903c3aaf8064b62a (patch)
tree863e1a3cf9c0f7269a41c7c75e55b56d2b51b1ed /packages/website/ts/containers
parent6c43fa8f7253083bb5e50a3f8940f35d105c8bf1 (diff)
downloaddexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar
dexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.gz
dexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.bz2
dexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.lz
dexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.xz
dexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.tar.zst
dexon-sol-tools-16ddd21a5f418cb1e421657a903c3aaf8064b62a.zip
feat(website): instant features section
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/instant.ts3
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 => ({