diff --git a/packages/app/components/misc/Support/SupportForm.tsx b/packages/app/components/misc/Support/SupportForm.tsx index 4a96c9ac4..630c991fe 100644 --- a/packages/app/components/misc/Support/SupportForm.tsx +++ b/packages/app/components/misc/Support/SupportForm.tsx @@ -96,8 +96,8 @@ const SupportForm = ({ { const [isLoading, setIsLoading] = useState(false); const [messageSent, setMessageSent] = useState(false); const { authenticated } = usePrivy(); + const { address } = useAccount(); const [open, setOpen] = useState(false); const form = useForm>({ resolver: zodResolver(supportSchema), @@ -40,6 +41,7 @@ const Support = () => { toast.error('No wallet address found'); return; } + createSupportTicketAction({ ...values, }) @@ -60,9 +62,10 @@ const Support = () => { setMessageSent(false); setOpen(false); }; + return ( - + Contact Support
{messageSent &&

Message sent 🎉!!

} @@ -88,10 +91,10 @@ const Support = () => {

- {!authenticated ? ( + {!authenticated || !!address ? (

Sign in to send us a message

- +
) : messageSent ? (
diff --git a/packages/app/components/misc/form/imageUpload.tsx b/packages/app/components/misc/form/imageUpload.tsx index e279705d7..d0226f3a7 100644 --- a/packages/app/components/misc/form/imageUpload.tsx +++ b/packages/app/components/misc/form/imageUpload.tsx @@ -12,6 +12,7 @@ import { Dialog, DialogContent, DialogFooter, + DialogTitle, DialogTrigger, } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; @@ -44,8 +45,10 @@ const ConfirmImageDeletion: React.FC = ({ className="absolute right-2 top-2 z-10 cursor-pointer rounded-full border border-muted-foreground bg-white text-muted-foreground" /> - -

Are you sure you want to remove this image?

+ + + Delete Image +

Are you sure you want to delete this image?