import INITIAL_STATE from '../INITIAL_STATE';
// @flow

import { actions } from '../actions/websocket';

const { AFK_SET } = actions;


function afkReducer(state = INITIAL_STATE.isAfk, action) {
  switch (action.type) {
    case AFK_SET:
      return action.payload[0];
  }
  return state;
}

export default afkReducer;

@@ -43,18 +43,8 @@
 E';%0A
-// @flow%0A%0A
 impo

remove useless flow header in afk reducer