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 committed Aug 8, 2024
1 parent d7cdf93 commit 47cacfd
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 47cacfd

Please sign in to comment.