import { GlobalStateProps } from './index'

export default {
  SET_LOADING(state: GlobalStateProps, val: boolean): void {
    state.showLoading = val
  },
  SET_COMMUNITY_LIST(state: GlobalStateProps, data: any[]) {
    state.communityList = data
  },
}
