mirror of
https://github.com/urosran/cally.git
synced 2026-10-25 18:07:54 +00:00
Notifications
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user