+ {
+ router.push(`/organizations/${organizationId}/new`);
+ }}
+ >
+
+ New
+
+
+
+ {loading && (
+ <>
+
+
+
+
+ >
+ )}
+ {participants.map((p) => (
+
+ {JSON.stringify(p)}
+ ))}
+ {
>
- {
- e.preventDefault();
- console.log({ event });
- if (await addNewEvent({ organizationId, event }))
- router.push(`/dashboard/${organizationId}`);
- else console.error('Error adding event');
- }}
- >
- Add
-
+ Add
Please wait ...
+