diff --git a/src/Components/Shifting/ShiftingBoard.tsx b/src/Components/Shifting/ShiftingBoard.tsx index 51f7ddf4fd7..d7d182ec3e0 100644 --- a/src/Components/Shifting/ShiftingBoard.tsx +++ b/src/Components/Shifting/ShiftingBoard.tsx @@ -6,15 +6,9 @@ import { useRef, useState, } from "react"; -import { - classNames, - formatDateTime, - formatName, - formatPatientAge, -} from "../../Utils/utils"; +import { classNames, formatDateTime, formatName } from "../../Utils/utils"; import { downloadShiftRequests } from "../../Redux/actions"; import { useDrag, useDrop } from "react-dnd"; - import ButtonV2 from "../Common/components/ButtonV2"; import ConfirmDialog from "../Common/ConfirmDialog"; import { navigate } from "raviger"; @@ -74,8 +68,7 @@ const ShiftCard = ({ shift, filter }: any) => {
- {shift.patient_object.name} -{" "} - {formatPatientAge(shift.patient_object, true)} + {shift.patient_object.name} - {shift.patient_object.age}
{shift.emergency && (