From 7b14706b41dde18c8be91572ff82541c244abb50 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Tue, 16 Jul 2024 22:06:42 +0530 Subject: [PATCH] Fix usages of gray shade that had spelling mistake with grey --- src/Components/Facility/Consultations/Mews.tsx | 2 +- src/Components/Facility/CoverImageEditModal.tsx | 2 +- src/Components/Facility/HospitalList.tsx | 2 +- src/Components/Patient/FileUpload.tsx | 16 ++++++++++------ src/Utils/useFileManager.tsx | 8 +++++--- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/Components/Facility/Consultations/Mews.tsx b/src/Components/Facility/Consultations/Mews.tsx index 9773e9ce7a8..b3960e171c2 100644 --- a/src/Components/Facility/Consultations/Mews.tsx +++ b/src/Components/Facility/Consultations/Mews.tsx @@ -73,7 +73,7 @@ export const Mews = ({ dailyRound }: { dailyRound: DailyRoundsModel }) => { return ( <>
-
+
-
diff --git a/src/Components/Facility/CoverImageEditModal.tsx b/src/Components/Facility/CoverImageEditModal.tsx index cbf976aafe4..319ae60fd1b 100644 --- a/src/Components/Facility/CoverImageEditModal.tsx +++ b/src/Components/Facility/CoverImageEditModal.tsx @@ -390,7 +390,7 @@ const CoverImageEditModal = ({ setIsCameraOpen(false); webRef.current.stopCamera(); }} - className="border-grey-200 my-2 w-full border-2" + className="my-2 w-full" > {t("close")} diff --git a/src/Components/Facility/HospitalList.tsx b/src/Components/Facility/HospitalList.tsx index 63a76e5998a..b59a1a2c5db 100644 --- a/src/Components/Facility/HospitalList.tsx +++ b/src/Components/Facility/HospitalList.tsx @@ -137,7 +137,7 @@ export const HospitalList = () => { ) : (
navigate("/facility/create")} > diff --git a/src/Components/Patient/FileUpload.tsx b/src/Components/Patient/FileUpload.tsx index d8f865d3fef..41fa0ccb4a8 100644 --- a/src/Components/Patient/FileUpload.tsx +++ b/src/Components/Patient/FileUpload.tsx @@ -1397,10 +1397,12 @@ export const FileUpload = (props: FileUploadProps) => { className="text-lg text-danger-500" />
-
+

Archive File

- This action is irreversible. Once a file is archived it cannot be - unarchived. + + This action is irreversible. Once a file is archived it cannot + be unarchived. +
} @@ -1447,10 +1449,12 @@ export const FileUpload = (props: FileUploadProps) => { className="text-lg text-primary-500" />
-
+

File Details

- This file is archived. Once a file is archived it cannot be - unarchived. + + This file is archived. Once a file is archived it cannot be + unarchived. +
} diff --git a/src/Utils/useFileManager.tsx b/src/Utils/useFileManager.tsx index 145c63800a8..3713d689a16 100644 --- a/src/Utils/useFileManager.tsx +++ b/src/Utils/useFileManager.tsx @@ -224,10 +224,12 @@ export default function useFileManager( className="text-lg text-danger-500" />
-
+

Archive File

- This action is irreversible. Once a file is archived it cannot be - unarchived. + + This action is irreversible. Once a file is archived it cannot + be unarchived. +
}