Shopping List backend implementation

- Fixed issue with groceries not fetching after update
This commit is contained in:
Dejan
2024-10-11 16:20:37 +02:00
parent e6758a014f
commit 22e962a8b2

View File

@ -19,7 +19,7 @@ export const useUpdateGrocery = () => {
}
},
onSuccess: () => {
queryClients.invalidateQueries("events")
queryClients.invalidateQueries("groceries")
}
})
}