function activeWorkspaceReducer(state = null, action) {
  switch (action.type) {
    case SET_ACTIVE_WORKSPACE:
      return action.workspaceId;
    default:
      return state;
  }
}
function activeWorkspaceReducer(state = null, action) {
  switch (action.type) {
    case SET_ACTIVE_WORKSPACE:
      return action.workspaceId;
    default:
      return state;
  }
}
function activeWorkspaceReducer ( state = null , action ) { switch ( action . type ) { case SET_ACTIVE_WORKSPACE : return action . workspaceId ; default : return state ; } }
~~~~~~~~ // REDUCERS // ~~~~~~~~ //
~~~~~~~~ // REDUCERS // ~~~~~~~~ //
A workspace reducer that can be used to update the active workspace