From f4e1c87da2df3dd2c2b8b1fc79f1cbe7f9f24e9d Mon Sep 17 00:00:00 2001 From: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:02:53 +0200 Subject: [PATCH] Fixed the Patient age formatting in shifting board (#8673) --- src/Components/Shifting/ShiftingBoard.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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) => {