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

@@ -1,6 +1,7 @@
'use client';
import { useState, useEffect } from 'react';
import { useBodyScrollLock } from '@/lib/body-scroll-lock';
import AdherentForm from './AdherentForm';
import ConfirmModal from './ConfirmModal';
@@ -41,6 +42,7 @@ export default function AdherentsTable() {
show: boolean;
id: string | null;
} | null>(null);
useBodyScrollLock(showImportModal || !!(resultModal?.show) || !!viewingAdherent);
const fetchAdherents = async (searchTerm: string = '') => {
setLoading(true);