Added few functions
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import { useNotification } from './NotificationProvider';
|
||||
import { useBodyScrollLock } from '@/lib/body-scroll-lock';
|
||||
|
||||
interface Participation {
|
||||
id: string;
|
||||
@@ -26,6 +27,7 @@ export default function ParticipationEditModal({
|
||||
onSuccess,
|
||||
}: ParticipationEditModalProps) {
|
||||
const { showNotification } = useNotification();
|
||||
useBodyScrollLock(true);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [formData, setFormData] = useState({
|
||||
destinataireEmail: '',
|
||||
|
||||
Reference in New Issue
Block a user