diff --git a/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx b/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx index e3c4d1be..89f2c18c 100644 --- a/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx +++ b/apps/hub/app/(app)/admin/event/_components/ParticipantModal.tsx @@ -8,6 +8,7 @@ import { deleteParticipant } from "../action"; import { checkMoodleResults, handleParticipantFinished } from "../../../../../helper/events"; import { AxiosError } from "axios"; import toast from "react-hot-toast"; +import { useRouter } from "next/navigation"; interface ParticipantModalProps { participantForm: UseFormReturn; @@ -15,6 +16,7 @@ interface ParticipantModalProps { } export const ParticipantModal = ({ participantForm, ref }: ParticipantModalProps) => { + const router = useRouter(); return (
@@ -42,8 +44,13 @@ export const ParticipantModal = ({ participantForm, ref }: ParticipantModalProps label="Abschluss-Moodle-Kurs abgeschlossen" />
-

Debug

- +
+

Debug

+

+ Diese Aktionen Versenden u.A. Mail! Aktivitäts-log für Teilnhemer aktualisiert nicht + nach ausfühlen +

+