export default {
    CREATE_CATEGORY(state, category) {
        state.categories.push(category);
    },
    DELETE_CATEGORY(state, category) {
        state.categories = state.categories.filter(i => i !== category);
    }
};
