File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/web/src/components/CountDownTimer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
22import { Box , Typography , LinearProgress } from '@mui/material' ;
33import toast from 'react-hot-toast' ;
44
5- const INTERVIEW_TIME = 10 ;
5+ const INTERVIEW_TIME = 1200 ;
66
77export 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 ) ;
You can’t perform that action at this time.
0 commit comments