Skip to content

Commit

Permalink
Merge pull request #217 from starknet-id/fix/verify-button
Browse files Browse the repository at this point in the history
fix: verify button
  • Loading branch information
Th0rgal authored Oct 10, 2023
2 parents 8e132d7 + bd905ae commit 323b85e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/quests/task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,10 @@ const Task: FunctionComponent<Task> = ({
) : (
<div
onClick={(e) => {
if (!address) return setError("Please connect your wallet first");
if (!hasRootDomain) return setShowDomainPopup(true);
if (verifyEndpointType === "quiz") return openTask();
if (verifyRedirect && address) window.open(verifyRedirect);
if (verifyRedirect) window.open(verifyRedirect);
verify(e);
}}
className={styles.verifyButton}
Expand Down

1 comment on commit 323b85e

@vercel
Copy link

@vercel vercel bot commented on 323b85e Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.