Skip to content

Commit

Permalink
Merge pull request #1074 from reggi/patch-1
Browse files Browse the repository at this point in the history
indent switch
  • Loading branch information
ellbee committed Nov 25, 2015
2 parents a9f28ea + 9a668c8 commit fd6adcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/advanced/ExampleRedditAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ import {

function selectedReddit(state = 'reactjs', action) {
switch (action.type) {
case SELECT_REDDIT:
return action.reddit
default:
return state
case SELECT_REDDIT:
return action.reddit
default:
return state
}
}

Expand Down

0 comments on commit fd6adcf

Please sign in to comment.