diff --git a/app/scenes/ExampleScreen/reducer.js b/app/scenes/ExampleScreen/reducer.js index 85bc437..44bf660 100644 --- a/app/scenes/ExampleScreen/reducer.js +++ b/app/scenes/ExampleScreen/reducer.js @@ -41,7 +41,7 @@ export const exampleContainerReducer = (state = initialState, action) => produce(state, () => { switch (action.type) { case exampleScreenTypes.REQUEST_FETCH_USER: - return fetchUser(state, action); + return fetchUser(state); case exampleScreenTypes.SUCCESS_FETCH_USER: return successFetchUser(state, action); case exampleScreenTypes.FAILURE_FETCH_USER: diff --git a/sonar-project.properties b/sonar-project.properties index 1b4bb43..c710942 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,6 +1,6 @@ sonar.projectKey=wednesday-solutions_react-native-template_AY7hdnRSB2n8RRmGoU2M sonar.language=js -sonar.sources=app +sonar.sources=. sonar.tests=app sonar.exclusions=**/android/**,**/ios/**,**/node_modules/** sonar.test.inclusions=**/*.test.js