Skip to content

Commit

Permalink
removing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Dec 1, 2024
1 parent 956e48e commit 3d4ad1c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion components/quests/questDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ const QuestDetails: FunctionComponent<QuestDetailsProps> = ({
hasRootDomain={quest.id === 127 ? true : hasRootDomain}
setShowDomainPopup={setShowDomainPopup}
checkUserRewards={checkUserRewards}
questId={questId}
/>
);
})}
Expand Down
4 changes: 1 addition & 3 deletions components/quests/task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const Task: FunctionComponent<Task> = ({
customError,
expired,
checkUserRewards,
questId,
}) => {
const [isClicked, setIsClicked] = useState(false);
const [isVerified, setIsVerified] = useState(false);
Expand Down Expand Up @@ -183,8 +182,7 @@ const Task: FunctionComponent<Task> = ({
onClick={(e) => {
e.stopPropagation();
if (!address) return setError("Please connect your wallet first");
if (!hasRootDomain && questId !== "224")
return setShowDomainPopup(true);
if (!hasRootDomain) return setShowDomainPopup(true);
if (verifyEndpointType === "quiz") return openTask();
if (verifyRedirect) window.open(verifyRedirect);
verify();
Expand Down
1 change: 0 additions & 1 deletion types/frontTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ type Task = {
customError: string;
checkUserRewards?: () => void;
expired: boolean;
questId?: string;
};

type TaskProps = Task & { id: number };
Expand Down

0 comments on commit 3d4ad1c

Please sign in to comment.