/*
Dans /recruteur/ats/page.jsx, ajoute un bouton qui charge /api/candidates :

const loadFromDb = async () => {
  const res = await fetch("/api/candidates", { cache: "no-store" });
  const data = await res.json();
  if (!data.ok) throw new Error(data.error);
  // map data.candidates -> items
};

<button onClick={loadFromDb}>Charger candidats MySQL</button>
*/
