Added few functions

This commit is contained in:
2026-02-16 14:43:02 +01:00
parent 0c908a21ac
commit 1ec4c935c9
31 changed files with 352 additions and 35 deletions

View File

@@ -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<{