diff --git a/src/routes/PositionDetails/components/InterviewPopup/Confirm/index.jsx b/src/routes/PositionDetails/components/InterviewPopup/Confirm/index.jsx index 304c53b..37370ab 100644 --- a/src/routes/PositionDetails/components/InterviewPopup/Confirm/index.jsx +++ b/src/routes/PositionDetails/components/InterviewPopup/Confirm/index.jsx @@ -18,13 +18,12 @@ import "./styles.module.scss"; */ const Confirm = ({ scheduleDetails, - candidateId, - userProfile, + candidate, onGoBack, onContinue, onShowingLoader, }) => { - const { handle } = userProfile; + const { handle, id: candidateId } = candidate; const { duration } = scheduleDetails; /** @@ -83,8 +82,7 @@ const Confirm = ({ Confirm.propTypes = { scheduleDetails: PT.object, - userProfile: PT.object, - candidateId: PT.string, + candidate: PT.object, onGoBack: PT.func, onContinue: PT.func, onShowingLoader: PT.func, diff --git a/src/routes/PositionDetails/components/InterviewPopup/ConnectCalendar/index.jsx b/src/routes/PositionDetails/components/InterviewPopup/ConnectCalendar/index.jsx index 7362caa..57e3d00 100644 --- a/src/routes/PositionDetails/components/InterviewPopup/ConnectCalendar/index.jsx +++ b/src/routes/PositionDetails/components/InterviewPopup/ConnectCalendar/index.jsx @@ -63,9 +63,11 @@ const ConnectCalendar = ({ {isConnected && ( <>
- Currently connected to: - - {` ${calendar && calendar.accountEmail}`} + + {'Currently connected to: '} + + {calendar && calendar.email} + {!showLoader && (