Added few functions
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import AlertModal from './AlertModal';
|
||||
import { useBodyScrollLock } from '@/lib/body-scroll-lock';
|
||||
|
||||
interface Adherent {
|
||||
id: string;
|
||||
@@ -26,6 +27,7 @@ interface AdherentFormProps {
|
||||
}
|
||||
|
||||
export default function AdherentForm({ adherent, onClose }: AdherentFormProps) {
|
||||
useBodyScrollLock(true);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [isMobile, setIsMobile] = useState(false);
|
||||
const [alertModal, setAlertModal] = useState<{
|
||||
|
||||
Reference in New Issue
Block a user