Skip to content

Commit

Permalink
Merge branch 'mai/feat-310-add-make-pick-button-functionali' of githu…
Browse files Browse the repository at this point in the history
…b.com:LetsGetTechnical/gridiron-survivor into mai/feat-310-add-make-pick-button-functionali
  • Loading branch information
vmaineng committed Jul 19, 2024
2 parents 4ada0da + 3a0a2f4 commit 6800fae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/(main)/league/[leagueId]/entry/[entryId]/week/Week.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const Week = ({ entry, league, NFLTeams, week }: IWeekProps): JSX.Element => {
}

try {
const scheduleData = await import(`@/app/schedule/2024/week${week}.json`);
const scheduleData = await import(
`@/app/(main)/schedule/2024/week${week}.json`
);
setSchedule(scheduleData.events);
} catch (error) {
console.error('Could not load week data:', error);
Expand Down

0 comments on commit 6800fae

Please sign in to comment.