Unverified Commit 47334e5f authored by Jesús Espino's avatar Jesús Espino Committed by GitHub

Remove unnecesary exports from reducers (#955)

* Removing unnecesary export

* Removing unnecesary export for tests
parent 359a5a0e
This diff is collapsed.
......@@ -36,7 +36,7 @@ function currentChannelId(state = '', action) {
}
}
export function channels(state = {}, action) {
function channels(state = {}, action) {
switch (action.type) {
case ChannelTypes.RECEIVED_CHANNEL:
if (state[action.data.id] && action.data.type === General.DM_CHANNEL) {
......@@ -310,7 +310,7 @@ function myMembers(state = {}, action) {
}
}
export function membersInChannel(state = {}, action) {
function membersInChannel(state = {}, action) {
switch (action.type) {
case ChannelTypes.RECEIVED_MY_CHANNEL_MEMBER:
case ChannelTypes.RECEIVED_CHANNEL_MEMBER: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment