import React from "react"; import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "@/components/ui/alert-dialog"; import { Button } from "@/components/ui/button"; import { api } from "@/utils/api"; import { toast } from "sonner"; export const AddSelfRegistry = () => { return ( Are you absolutely sure? This will setup a self hosted registry. Cancel { // await mutateAsync({ // authId, // }) // .then(async () => { // utils.user.all.invalidate(); // toast.success("User delete succesfully"); // }) // .catch(() => { // toast.error("Error to delete the user"); // }); }} > Confirm ); };