Skip to content

Commit

Permalink
fix filename case issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed Apr 23, 2024
1 parent 55c95bc commit 8489b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue-app/src/api/leaderboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export async function getLeaderboardData(roundAddress: string, network: string)
return r.address.toLowerCase() === lowercaseRoundAddress && r.network.toLowerCase() === lowercaseNetwork
})

return found ? import(`../rounds/${lowercaseNetwork}/${lowercaseRoundAddress}.json`) : null
return found ? import(`../rounds/${found.network}/${found.address}.json`) : null
}

0 comments on commit 8489b00

Please sign in to comment.