From 622ac25e082863d5122d0551a6ec41233563587a Mon Sep 17 00:00:00 2001 From: Ken Date: Thu, 28 Feb 2019 23:00:31 -0800 Subject: [PATCH] fixing highlighting --- step2-07/demo/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/step2-07/demo/README.md b/step2-07/demo/README.md index fa55820..6cc335e 100644 --- a/step2-07/demo/README.md +++ b/step2-07/demo/README.md @@ -20,7 +20,7 @@ That's right, Redux doesn't only work with React. It can be used inside Vue.js, The store doesn't magically get passed to the views randomly. It has to be supplied by a `react-redux` component called ``. It can be placed anywhere, but it's best to just make it available at the root the app: -```tsx +```js const store = createStore(reducers); const App = () => { @@ -36,7 +36,7 @@ const App = () => { Connect store to view with `react-redux`. `connect()` is used to turn Redux store and dispatch functions into props inside React components. The state and action dispatchers are passed along with a `` component. -```ts +```js const OldComponent = props => { return
{props.foo}
; };