-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip(hall-of-fame): add dynamic data import
- Loading branch information
1 parent
b3e4754
commit 88e269d
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const computePastLeaderboardDataPath = ({ page, filters, sorts, round, ghostLegion, year }) => { | ||
Check failure on line 1 in src/utils/compute-data-path.js GitHub Actions / Enforce ESLint rules
Check failure on line 1 in src/utils/compute-data-path.js GitHub Actions / Enforce ESLint rules
|
||
const round2Path = ghostLegion == true ? "/ghost-legion" : "/final"; | ||
const path = `${year}/round${round}${round == 1 ? "" : round2Path}`; | ||
return path; | ||
}; |
This file was deleted.
Oops, something went wrong.