mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 21:09:22 +00:00
remove logs
This commit is contained in:
@@ -76,7 +76,6 @@ export function LeaderboardPage() {
|
|||||||
const filteredLeaderboard = currentLeaderboard.filter((entry) =>
|
const filteredLeaderboard = currentLeaderboard.filter((entry) =>
|
||||||
entry.name.toLowerCase().includes(searchQuery.toLowerCase())
|
entry.name.toLowerCase().includes(searchQuery.toLowerCase())
|
||||||
)
|
)
|
||||||
console.log(filteredLeaderboard)
|
|
||||||
// Sort leaderboard
|
// Sort leaderboard
|
||||||
const sortedLeaderboard = [...filteredLeaderboard].sort((a, b) => {
|
const sortedLeaderboard = [...filteredLeaderboard].sort((a, b) => {
|
||||||
// biome-ignore lint/style/useSingleVarDeclarator: <explanation>
|
// biome-ignore lint/style/useSingleVarDeclarator: <explanation>
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ export function UserInfo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const aliases = [...new Set(games.map((g) => g.playerName))]
|
const aliases = [...new Set(games.map((g) => g.playerName))]
|
||||||
console.log(aliases)
|
|
||||||
const lastGame = games.at(0)
|
const lastGame = games.at(0)
|
||||||
|
|
||||||
const currentName = lastGame?.playerName ?? discord_user.username
|
const currentName = lastGame?.playerName ?? discord_user.username
|
||||||
|
|||||||
Reference in New Issue
Block a user