Notifications

This commit is contained in:
Milan Paunovic
2024-10-11 23:53:08 +02:00
parent 9c6cc16f16
commit 04a6103470
17 changed files with 392 additions and 84 deletions
+1
View File
@@ -11,6 +11,7 @@ export const useCreateEvent = () => {
mutationKey: ["createEvent"],
mutationFn: async (eventData: Partial<EventData>) => {
try {
console.log("CALLLLL")
await firestore()
.collection("Events")
.add({...eventData, creatorId: currentUser?.uid})