diff --git a/client/src/modules/Interview/Student/data/getInterviewCardDetails.tsx b/client/src/modules/Interview/Student/data/getInterviewCardDetails.tsx index f818d7128..4219c2024 100644 --- a/client/src/modules/Interview/Student/data/getInterviewCardDetails.tsx +++ b/client/src/modules/Interview/Student/data/getInterviewCardDetails.tsx @@ -7,8 +7,12 @@ interface StudentInterviewDetails { registrationStart: string; } -export const getInterviewCardDetails = (params: Partial) => { - const { interviewPassed, isRegistered, registrationNotStarted, registrationStart } = params; +export const getInterviewCardDetails = ({ + interviewPassed, + isRegistered, + registrationNotStarted, + registrationStart, +}: StudentInterviewDetails) => { if (interviewPassed) { return { cardMessage: 'You have your interview result. Congratulations!',