import { MdRefresh } from "react-icons/md"; export default function Revalidate() { const revalidate = () => { fetch("/api/revalidate").then((res) => { if (res.ok) { window.location.reload(); } }); }; return (