website refactor

This commit is contained in:
2026-01-12 01:01:49 +01:00
parent 5ca6023a5a
commit fefd8d1cd6
294 changed files with 4628 additions and 4991 deletions

View File

@@ -19,9 +19,9 @@ export default async function TeamLeaderboardPage() {
);
// Prepare data for template
const data: TeamSummaryViewModel[] | null = teamsData as TeamSummaryViewModel[] | null;
const data: TeamSummaryViewModel[] | null = teamsData;
const hasData = (teamsData as any)?.length > 0;
const hasData = (teamsData?.length ?? 0) > 0;
// Handle loading state (should be fast since we're using async/await)
const isLoading = false;