From 3bded6937095aa8230114b159688830417249835 Mon Sep 17 00:00:00 2001 From: Chunikhin Denis Date: Sat, 23 Feb 2019 19:50:53 +0200 Subject: [PATCH 1/3] Update README.md 'Dispatch' is no longer situated in 'redux-react'. Now, it'is in 'redux' package; --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0793532..b90591b 100644 --- a/README.md +++ b/README.md @@ -690,7 +690,8 @@ When we're finished, our file should look like this: import Hello from '../components/Hello'; import * as actions from '../actions/'; import { StoreState } from '../types/index'; -import { connect, Dispatch } from 'react-redux'; +import { Dispatch } from 'redux'; +import { connect } from 'react-redux'; export function mapStateToProps({ enthusiasmLevel, languageName }: StoreState) { return { From ea46964c65f0ff59c868b3df9ef4edbe4a42e217 Mon Sep 17 00:00:00 2001 From: Chunikhin Denis Date: Sat, 23 Feb 2019 19:51:38 +0200 Subject: [PATCH 2/3] Revert "Update README.md" --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b90591b..0793532 100644 --- a/README.md +++ b/README.md @@ -690,8 +690,7 @@ When we're finished, our file should look like this: import Hello from '../components/Hello'; import * as actions from '../actions/'; import { StoreState } from '../types/index'; -import { Dispatch } from 'redux'; -import { connect } from 'react-redux'; +import { connect, Dispatch } from 'react-redux'; export function mapStateToProps({ enthusiasmLevel, languageName }: StoreState) { return { From 0dc6c0cc2affda0390aab88e852cd2f9d0c88bca Mon Sep 17 00:00:00 2001 From: Chunikhin Denis Date: Sat, 23 Feb 2019 20:09:01 +0200 Subject: [PATCH 3/3] Update Hello.tsx --- src/containers/Hello.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/containers/Hello.tsx b/src/containers/Hello.tsx index 8c5082a..8d347cb 100644 --- a/src/containers/Hello.tsx +++ b/src/containers/Hello.tsx @@ -1,7 +1,8 @@ import Hello from '../components/Hello'; import * as actions from '../actions/'; import { StoreState } from '../types/index'; -import { connect, Dispatch } from 'react-redux'; +import { Dispatch } from 'redux'; +import { connect } from 'react-redux'; export function mapStateToProps({ enthusiasmLevel, languageName }: StoreState) { return {