const getData = async () => { const res = await fetch("https://api.abassdev.com"); if (!res.ok) throw new Error("Failed to fetch data"); return res.json(); };