From 3a950614eef44b89195552fe8298dacc17dcde13 Mon Sep 17 00:00:00 2001 From: DanielJames0302 <137600847+DanielJames0302@users.noreply.github.com> Date: Sat, 16 Nov 2024 11:25:12 +0800 Subject: [PATCH] [web] interviews/dashboard: better transition for dashboard current streak label (#991) --- .../dashboard/InterviewsDashboardPage.tsx | 3 ++- .../InterviewsDashboardPageHeader.tsx | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/interviews/dashboard/InterviewsDashboardPage.tsx b/apps/web/src/components/interviews/dashboard/InterviewsDashboardPage.tsx index a139f73fd..c9c4e9634 100644 --- a/apps/web/src/components/interviews/dashboard/InterviewsDashboardPage.tsx +++ b/apps/web/src/components/interviews/dashboard/InterviewsDashboardPage.tsx @@ -80,7 +80,7 @@ export default function InterviewsDashboardPage({ }, ); const { startTime, endTime } = useMemo(() => getDateRangeFromToday(), []); - const { data: contributions } = + const { data: contributions, isLoading: isContributionsLoading } = trpc.questionProgress.getContributionsCount.useQuery( { endTime, @@ -105,6 +105,7 @@ export default function InterviewsDashboardPage({