Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Fixes julianne topic bug (#92)
Browse files Browse the repository at this point in the history
* adds redux logger

* restore julianne questions csv
  • Loading branch information
beatthat authored Aug 12, 2019
1 parent 273b7b0 commit ec00cf1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
13 changes: 13 additions & 0 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"redux": "^4.0.1",
"redux-axios-middleware": "^4.0.0",
"redux-cmi5": "github:beatthat/redux-cmi5#semver:^1.3.3",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"typescript": "^3.5.3"
},
Expand Down
5 changes: 3 additions & 2 deletions client/wrap-with-provider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import { createStore, applyMiddleware } from "redux";
import { Provider } from "react-redux";
import thunk from "redux-thunk";

import store from "./src/store/reducer";
import store from "store/reducer";
import logger from "redux-logger";

const storeObj = createStore(store, applyMiddleware(...[thunk]));
const storeObj = createStore(store, applyMiddleware(...[thunk, logger]));

export default function WrappedWithProvider({ element }) {
return <Provider store={storeObj}>{element}</Provider>;
Expand Down
3 changes: 1 addition & 2 deletions mentors/julianne/data/questions_paraphrases_answers.csv

Large diffs are not rendered by default.

0 comments on commit ec00cf1

Please sign in to comment.