type Payload = {
  payload: any;
};

export const navbarState = (state: Object, { payload }: Payload) => ({
  ...state,
  navbarState: payload.state,
});

export const sidebarState = (state: Object, { payload }: Payload) => ({
  ...state,
  sidebarState: payload.state,
});
