File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1+ import { Box , LinearProgress , Typography } from '@mui/material' ;
12import { useEffect , useState } from 'react' ;
2- import { Box , Typography , LinearProgress } from '@mui/material' ;
33import toast from 'react-hot-toast' ;
44
55const INTERVIEW_TIME = 1200 ;
@@ -24,7 +24,7 @@ export default function CountdownTimer({ isRunning }: { isRunning: boolean }) {
2424
2525 const progress = ( seconds / INTERVIEW_TIME ) * 100 ;
2626
27- const formatTime = ( totalSeconds : any ) => {
27+ const formatTime = ( totalSeconds : number ) => {
2828 const m = Math . floor ( totalSeconds / 60 )
2929 . toString ( )
3030 . padStart ( 2 , '0' ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export * from './common/MultilineInput/MultilineInput';
1414export * from './common/SelectInput/CustomSelectInput' ;
1515export * from './ConfirmDialog/ConfirmDialog' ;
1616export * from './Countdown/Countdown' ;
17+ export * from './CountDownTimer/CountDownTimer' ;
1718export * from './CsvFile/CsvFile' ;
1819export * from './DecisionHandler/DecisionHandler' ;
1920export * from './EmailBox/EmailBox' ;
@@ -53,4 +54,3 @@ export * from './TestSlotInfo/SlotInternList';
5354export * from './TestSlotInfo/SlotQuestionList' ;
5455export * from './TestSlotInfo/TestSlotInfo' ;
5556export * from './Webcamera/Webcamera' ;
56- export * from './CountDownTimer/CountDownTimer' ;
Original file line number Diff line number Diff line change 44 useSetImage ,
55 useSetInterview ,
66} from '@api/index' ;
7+ import CountdownTimer from '@components/CountDownTimer/CountDownTimer' ;
78import {
89 AdminPage ,
910 ConfirmDialog ,
@@ -14,6 +15,7 @@ import MultistepForm from '@components/MultistepForm/MultistepForm.tsx';
1415import { Intern , InterviewStatus , QuestionType } from '@internship-app/types' ;
1516import { Question } from '@internship-app/types/' ;
1617import { Json } from '@internship-app/types/src/json' ;
18+ import { Button } from '@mui/material' ;
1719import { InterviewQuestionHandler } from '@pages/index.ts' ;
1820import { useEffect , useState } from 'react' ;
1921import { FieldValues , useForm } from 'react-hook-form' ;
@@ -28,8 +30,6 @@ import {
2830} from '../../constants/interviewConstants' ;
2931import { Path } from '../../constants/paths' ;
3032import { getDefaultValues } from './data' ;
31- import { Button } from '@mui/material' ;
32- import CountdownTimer from '@components/CountDownTimer/CountDownTimer' ;
3333
3434const mapAnswersToQuestions = (
3535 answers : FieldValues ,
You can’t perform that action at this time.
0 commit comments