Skip to content

Commit

Permalink
fix authenticated check for support
Browse files Browse the repository at this point in the history
  • Loading branch information
greatsamist authored and Mario-SO committed Aug 8, 2024
1 parent e3fb71c commit 268713c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/app/components/misc/Support/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const Support = () => {
setMessageSent(false);
setOpen(false);
};
const isAuthenticated = authenticated || address;

return (
<Credenza open={open} onOpenChange={setOpen}>
Expand Down Expand Up @@ -91,7 +92,7 @@ const Support = () => {
</a>
</p>

{!authenticated || !!address ? (
{!isAuthenticated ? (
<div>
<p className="py-2">Sign in to send us a message</p>
<ConnectWalletButton />
Expand Down

0 comments on commit 268713c

Please sign in to comment.