Skip to content

Commit 4085556

Browse files
committed
fix lint
1 parent 0fdbca4 commit 4085556

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

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

55
const 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');

apps/web/src/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export * from './common/MultilineInput/MultilineInput';
1414
export * from './common/SelectInput/CustomSelectInput';
1515
export * from './ConfirmDialog/ConfirmDialog';
1616
export * from './Countdown/Countdown';
17+
export * from './CountDownTimer/CountDownTimer';
1718
export * from './CsvFile/CsvFile';
1819
export * from './DecisionHandler/DecisionHandler';
1920
export * from './EmailBox/EmailBox';
@@ -53,4 +54,3 @@ export * from './TestSlotInfo/SlotInternList';
5354
export * from './TestSlotInfo/SlotQuestionList';
5455
export * from './TestSlotInfo/TestSlotInfo';
5556
export * from './Webcamera/Webcamera';
56-
export * from './CountDownTimer/CountDownTimer';

apps/web/src/pages/InterviewPage/InterviewPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
useSetImage,
55
useSetInterview,
66
} from '@api/index';
7+
import CountdownTimer from '@components/CountDownTimer/CountDownTimer';
78
import {
89
AdminPage,
910
ConfirmDialog,
@@ -14,6 +15,7 @@ import MultistepForm from '@components/MultistepForm/MultistepForm.tsx';
1415
import { Intern, InterviewStatus, QuestionType } from '@internship-app/types';
1516
import { Question } from '@internship-app/types/';
1617
import { Json } from '@internship-app/types/src/json';
18+
import { Button } from '@mui/material';
1719
import { InterviewQuestionHandler } from '@pages/index.ts';
1820
import { useEffect, useState } from 'react';
1921
import { FieldValues, useForm } from 'react-hook-form';
@@ -28,8 +30,6 @@ import {
2830
} from '../../constants/interviewConstants';
2931
import { Path } from '../../constants/paths';
3032
import { getDefaultValues } from './data';
31-
import { Button } from '@mui/material';
32-
import CountdownTimer from '@components/CountDownTimer/CountDownTimer';
3333

3434
const mapAnswersToQuestions = (
3535
answers: FieldValues,

0 commit comments

Comments
 (0)