Skip to content

Commit

Permalink
fix what a week achievement
Browse files Browse the repository at this point in the history
  • Loading branch information
aweell committed Nov 29, 2024
1 parent c356837 commit fd9d387
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/advent-calendar-2024/utils/achievement-config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ export const achievementsConfig = [
{
id: "whatAWeek",
name: "What a Week",
description: "Complete seven tasks on consecutive days",
description: "Complete five tasks on consecutive days",
icon: IconCalendarFilled,
check: (newCompletedDays) =>
hasConsecutiveDays(newCompletedDays) && newCompletedDays.length >= 7,
message: "You have unlocked 7 consecutive days!",
hasConsecutiveDays(newCompletedDays) && newCompletedDays.length >= 5,
message: "You have unlocked 5 consecutive days!",
isSecret: false,
},
{
Expand Down

0 comments on commit fd9d387

Please sign in to comment.