Skip to content

Commit

Permalink
feat: display today's statistics on the public profile page
Browse files Browse the repository at this point in the history
aradzie committed Dec 2, 2024
1 parent 4903c42 commit 6a59082
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/page-profile/lib/PublicProfilePage.tsx
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ import { KeySpeedHistogramSection } from "./profile/KeySpeedHistogramSection.tsx
import { ProgressOverviewSection } from "./profile/ProgressOverviewSection.tsx";
import { ResultGrouper } from "./profile/ResultGrouper.tsx";
import { SpeedChartSection } from "./profile/SpeedChartSection.tsx";
import { AllTimeSummary } from "./profile/Summary.tsx";
import { AllTimeSummary, TodaySummary } from "./profile/Summary.tsx";

export function PublicProfilePage({ user }: { user: NamedUser }) {
return (
@@ -43,6 +43,8 @@ function Content({ keyStatsMap }: { keyStatsMap: KeyStatsMap }) {
<>
<AllTimeSummary stats={stats} />

<TodaySummary stats={dailyStatsMap.today.stats} />

<AccuracyStreaksSection results={results} />

<HistogramsSection stats={stats} />

0 comments on commit 6a59082

Please sign in to comment.