);
}
function SpacedropRequestDialog(
props: { dropId: string; name: string; peerId: string } & UseDialogProps
) {
const form = useZodForm({
// We aren't using this but it's required for the Dialog :(
schema: z.object({
file_path: z.string()
})
});
const acceptSpacedrop = useBridgeMutation('p2p.acceptSpacedrop');
// TODO: Automatically close this after 60 seconds cause the Spacedrop would have expired
return (