import { Trash } from "lucide-react";
import { Button } from "../ui/button";
import { clearCache } from "~/lib/utils";

export default function Profile() {
  return (
    <div>
      <Button variant="destructive" className="w-full text-white" onClick={clearCache}>
        <Trash className="mr-2 h-4 w-4" />
        Vider le cache
      </Button>
    </div>
  );
}