From 82232a67da296027f43d4ba2334a28cefbc65846 Mon Sep 17 00:00:00 2001 From: Jimin Ha Date: Thu, 5 Sep 2024 08:06:17 +0000 Subject: [PATCH] feat(fe): longer contest timer toast --- apps/frontend/components/ContestStatusTimeDiff.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/components/ContestStatusTimeDiff.tsx b/apps/frontend/components/ContestStatusTimeDiff.tsx index bd8e829f9d..581cd4d9de 100644 --- a/apps/frontend/components/ContestStatusTimeDiff.tsx +++ b/apps/frontend/components/ContestStatusTimeDiff.tsx @@ -61,10 +61,10 @@ export default function ContestStatusTimeDiff({ if (inContestEditor) { if (days === 0 && hours === 0 && minutes === 5 && seconds === 0) { - toast.error('Contest ends in 5 minutes.') + toast.error('Contest ends in 5 minutes.', { duration: 10000 }) } if (days === 0 && hours === 0 && minutes === 1 && seconds === 0) { - toast.error('Contest ends in 1 minute.') + toast.error('Contest ends in 1 minute.', { duration: 10000 }) } }