mirror of
https://github.com/ershisan99/www.git
synced 2026-02-03 12:35:54 +00:00
only update the changed user's info instead of both
This commit is contained in:
@@ -38,7 +38,7 @@ export function getPlayerData(
|
||||
const meaningful_games = games_played - ties
|
||||
|
||||
return {
|
||||
username: currentName,
|
||||
username: currentName ?? 'Unknown',
|
||||
games: games_played,
|
||||
meaningful_games,
|
||||
wins,
|
||||
|
||||
Reference in New Issue
Block a user