Untitled
const searchDoctors = async name => { const filteredDoctors = doctorList.filter(item => { const fullName = `${item.adi} ${item.soyadi}`; return fullName.toLowerCase().includes(name.toLowerCase()); }); setDoctors(filteredDoctors); };
const searchDoctors = async name => { const filteredDoctors = doctorList.filter(item => { const fullName = `${item.adi} ${item.soyadi}`; return fullName.toLowerCase().includes(name.toLowerCase()); }); setDoctors(filteredDoctors); };