Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const actions = {
- async findAll({ commit }) {
- commit('setLoading', true);
- const response = await gqlClient.query({
- query: RECIPES_QUERY
- });
- commit('setRecipeList', response.data.recipe);
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement