Skip to content

Commit

Permalink
cleaning the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jan 24, 2025
1 parent 7e4cc3c commit 887e537
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/admin/quests/dashboard/[questId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -707,13 +707,10 @@ export default function Page({ params }: QuestIdProps) {
} else if (currentPage === 1) {
return (showBoost && boostInputValid) || nftUriValid || questRewardValid;
}


if (currentPage === 2) {

return steps.some((step) => step?.type === "None");

}
if (currentPage === 2) {
return steps.some((step) => step?.type === "None");
}

return false;
}, [
Expand Down

0 comments on commit 887e537

Please sign in to comment.