Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
stop logging path
Browse files Browse the repository at this point in the history
  • Loading branch information
lepon01 committed Apr 16, 2019
1 parent 9c65d95 commit d043ac9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/redux/actions/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ function shouldFetchDoc(state, page) {

export function fetchADoc({match, pathname}) {
return (dispatch, getState) => {
console.log(match.url);
const path = pathname.substring(match.url.length);
console.log(path);
if (shouldFetchDoc(getState(), path)) {
return dispatch(fetchDoc(path))
}
Expand Down

0 comments on commit d043ac9

Please sign in to comment.