24 lines
579 B
TypeScript
24 lines
579 B
TypeScript
"use client";
|
|
|
|
import { ActionButton } from "@/components/ui/action-button";
|
|
import { toast } from "@/components/ui/use-toast";
|
|
import { api } from "@/lib/trpc";
|
|
|
|
export default function AdminActions() {
|
|
|
|
return (
|
|
<div>
|
|
<div className="mb-2 mt-8 text-xl font-medium">Actions</div>
|
|
<div className="flex flex-col gap-2 sm:w-1/2">
|
|
<ActionButton
|
|
variant="destructive"
|
|
loading={false}
|
|
onClick={() => alert("This does nothing yet")}
|
|
>
|
|
TODO: Add Stuff Here
|
|
</ActionButton>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|