import Dialog from "~/components/Dialog"; import Notice from "~/components/Notice"; interface TransferOwnershipProps { targetUserId: string; targetDisplayName: string; isOpen: boolean; setIsOpen: (isOpen: boolean) => void; } export default function TransferOwnership({ targetUserId, targetDisplayName, isOpen, setIsOpen, }: TransferOwnershipProps) { return ( Transfer ownership to {targetDisplayName}? This will make {targetDisplayName} the new owner of this Headplane instance. You will be demoted to an Admin. This action cannot be easily undone. Only the owner can transfer ownership. After this, you will no longer be able to manage ownership. ); }