Skip to content

Commit

Permalink
Add missing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsanh committed Nov 23, 2017
1 parent 7b614a2 commit ec0aa37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import Types from './actionTypes'
import { Types as ReduxSauceTypes } from 'reduxsauce'

export const HANDLERS = {
[Types.SAY_GOODBYE]: sayGoodbye
[Types.SAY_GOODBYE]: sayGoodbye,
[ReduxSauceTypes.DEFAULT]: defaultHandler,
}
```
Expand Down Expand Up @@ -171,7 +171,7 @@ const { Types, Creators } = createActions({
loginRequest: ['username', 'password'],
loginSuccess: ['username'],
loginFailure: ['error'],
requestWithDefaultValues: { username: 'guest', password: null }
requestWithDefaultValues: { username: 'guest', password: null },
logout: null,
custom: (a, b) => ({ type: 'CUSTOM', total: a + b })
}, {}) // options - the 2nd parameter is optional
Expand Down

0 comments on commit ec0aa37

Please sign in to comment.