Highlight current user in leaderboard (#1194)

* Highlight current user in leaderboard

* use first of type for ssr safety
This commit is contained in:
notmd
2023-02-05 20:17:28 +01:00
committed by GitHub
parent 45444d9c62
commit 364a4f5aa3
3 changed files with 50 additions and 12 deletions
+1
View File
@@ -40,4 +40,5 @@ export interface LeaderboardEntity {
reply_ranked_3: number;
streak_last_day_date: number | null;
streak_days: number | null;
highlighted: boolean;
}