Skip to content

Commit

Permalink
Now rewards are not rendered when quest has been completed.
Browse files Browse the repository at this point in the history
  • Loading branch information
elysiumplain authored Jan 31, 2024
1 parent fa5add7 commit 010ca16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Quest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function QuestButton(props) {
Quest.quarks[props.area].name
: props.area.name}
</span>
{Quest.extractRewards(Quest.quarks[props.area]) && (
{Quest.extractRewards(Quest.quarks[props.area]) && !props.user.quests[props.area] && (
<span
style={{
position: 'absolute',
Expand Down

0 comments on commit 010ca16

Please sign in to comment.