Skip to content

Commit

Permalink
fix: add extra check on boosted check
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtom committed Jan 8, 2024
1 parent 2193f3d commit 4cfcb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/quests/quest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const Quest: FunctionComponent<QuestProps> = ({
</>
)}
</div>
{boostedQuests.includes(id) ? (
{boostedQuests?.length > 0 && boostedQuests?.includes(id) ? (
<div
className={styles.issuer}
style={{ gap: 0, padding: "8px 16px" }}
Expand Down

0 comments on commit 4cfcb07

Please sign in to comment.