Untitled
unknown
plain_text
2 years ago
266 B
8
Indexable
const searchDoctors = async name => { const filteredDoctors = doctorList.filter(item => { const fullName = `${item.adi} ${item.soyadi}`; return fullName.toLowerCase().includes(name.toLowerCase()); }); setDoctors(filteredDoctors); };
Editor is loading...