import { generateSidebarMenuItems } from "@/helper"

export const SET_MERCHANTS = (state, value) => {
  state.merchants = value
}

export const SET_ANNOUNCEMENTS = (state, value) => {
  state.announcements = value
}

export const SET_SIDEBAR_MENU_ITEMS = (state) => {
  state.sidebar_menu_items = generateSidebarMenuItems()
}