Skip to content

Commit 0fdbca4

Browse files
committed
Update interview time
1 parent f7dc8d5 commit 0fdbca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/src/components/CountDownTimer/CountDownTimer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
22
import { Box, Typography, LinearProgress } from '@mui/material';
33
import toast from 'react-hot-toast';
44

5-
const INTERVIEW_TIME = 10;
5+
const INTERVIEW_TIME = 1200;
66

77
export default function CountdownTimer({ isRunning }: { isRunning: boolean }) {
88
const [seconds, setSeconds] = useState(INTERVIEW_TIME);
@@ -13,7 +13,7 @@ export default function CountdownTimer({ isRunning }: { isRunning: boolean }) {
1313
toast.success('GOTOVO');
1414
return;
1515
}
16-
if (seconds === 5) toast.success('Prošlo je 15 minuti. ZAVRŠAVAJ');
16+
if (seconds === 300) toast.success('Prošlo je 15 minuti. ZAVRŠAVAJ');
1717

1818
const interval = setInterval(() => {
1919
setSeconds((prev) => prev - 1);

0 commit comments

Comments
 (0)