Fix spacing

This commit is contained in:
Stephen Ierodiaconou
2017-07-19 10:34:00 +01:00
parent e51079cdb2
commit d7e97abc4f
2 changed files with 4 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ interface NextPageComponentMethods {
type NextReduxWrappedComponent = React.Component & NextPageComponentMethods;
type NextStoreCreator<TInitialState, TStateProps, TDispatchProps, TOwnProps, TMergedProps> = (
initialState: TInitialState,
options: nextReduxWrapper.StoreCreatorOptions<TInitialState, TStateProps, TDispatchProps, TOwnProps, TMergedProps>
initialState: TInitialState,
options: nextReduxWrapper.StoreCreatorOptions<TInitialState, TStateProps, TDispatchProps, TOwnProps, TMergedProps>
) => Store<TInitialState>;
declare function nextReduxWrapper<TInitialState = any, TStateProps = any, TDispatchProps = any, TOwnProps = any, TMergedProps = any>(

View File

@@ -81,8 +81,8 @@ const com6 = withRedux<InitialState, ConnectStateProps, DispatchProps, OwnProps,
)(Page);
const com7 = withRedux({
createStore: makeStore,
mapStateToProps: (state: ReduxStore) => ({foo: state.foo})
createStore: makeStore,
mapStateToProps: (state: ReduxStore) => ({foo: state.foo})
})(Page);
withRedux.setPromise(Promise);