metamaps--metamaps/frontend/src/actions/index.js

14 lines
179 B
JavaScript
Raw Normal View History

2017-10-25 21:18:40 -04:00
import * as c from './constants'
2017-10-25 20:51:33 -04:00
export const openChat = () => {
return {
2017-10-25 21:18:40 -04:00
type: c.OPEN_CHAT
2017-10-25 20:51:33 -04:00
}
}
export const closeChat = () => {
return {
2017-10-25 21:18:40 -04:00
type: c.CLOSE_CHAT
2017-10-25 20:51:33 -04:00
}
}