Testing GridItem + AddFruit components
This commit is contained in:
@@ -17,6 +17,7 @@ export default {
|
||||
},
|
||||
addFruit: async ({ commit }, fruit) => {
|
||||
commit("setLoading", true);
|
||||
console.log("here");
|
||||
await axios
|
||||
.post("http://localhost:3000/fruit", fruit)
|
||||
.then(res => commit("addFruit", res.data))
|
||||
|
||||
Reference in New Issue
Block a user