feat(website): instant features section
This commit is contained in:
@@ -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 => ({
|
||||
|
||||
Reference in New Issue
Block a user