From 031252ee29c37d785618185f77e82aa076617b24 Mon Sep 17 00:00:00 2001 From: mahendar Date: Sun, 5 Jan 2025 19:31:24 +0530 Subject: [PATCH] updated variants and links --- src/CAREUI/interactive/FiltersSlideover.tsx | 8 +++++-- src/components/Common/AvatarEditModal.tsx | 23 +++++++++++-------- .../PatientDetailsTab/patientUpdates.tsx | 12 +++++----- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/src/CAREUI/interactive/FiltersSlideover.tsx b/src/CAREUI/interactive/FiltersSlideover.tsx index 1da49de082a..b3c11fcd035 100644 --- a/src/CAREUI/interactive/FiltersSlideover.tsx +++ b/src/CAREUI/interactive/FiltersSlideover.tsx @@ -33,11 +33,15 @@ export default function FiltersSlideover({
{t("filters")}
- -
diff --git a/src/components/Common/AvatarEditModal.tsx b/src/components/Common/AvatarEditModal.tsx index dbfd595f0dd..7df75cc04a8 100644 --- a/src/components/Common/AvatarEditModal.tsx +++ b/src/components/Common/AvatarEditModal.tsx @@ -258,20 +258,23 @@ const AvatarEditModal = ({ id="upload-cover-image" variant="primary" type="button" + asChild onClick={() => document.getElementById("file-input")?.click() } > - - {t("upload_an_image")} - +
+ + {t("upload_an_image")} + +
- + +