From 9db2cd8dde0cfa8f770aabc8afa7eb73c228b20d Mon Sep 17 00:00:00 2001 From: shraman <22bcs229@iiitdmj.ac.in> Date: Fri, 19 Jan 2024 02:40:47 +0530 Subject: [PATCH] changed the button's variant to primary when the filter is active --- public/images/icons/icons8-tick.svg | 1 - .../Consultations/DailyRoundsFilter.tsx | 31 ++++++++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 public/images/icons/icons8-tick.svg diff --git a/public/images/icons/icons8-tick.svg b/public/images/icons/icons8-tick.svg deleted file mode 100644 index 4b55401a3d2..00000000000 --- a/public/images/icons/icons8-tick.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/Components/Facility/Consultations/DailyRoundsFilter.tsx b/src/Components/Facility/Consultations/DailyRoundsFilter.tsx index 979af3353c9..4e8c2941046 100644 --- a/src/Components/Facility/Consultations/DailyRoundsFilter.tsx +++ b/src/Components/Facility/Consultations/DailyRoundsFilter.tsx @@ -4,7 +4,6 @@ import { Fragment } from "react"; import { SelectFormField } from "../../Form/FormFields/SelectFormField"; import TextFormField from "../../Form/FormFields/TextFormField"; import CareIcon from "../../../CAREUI/icons/CareIcon"; -import FilterIcon from "../../../../public/images/icons/icons8-tick.svg"; import dayjs from "dayjs"; import { useState } from "react"; import { useTranslation } from "react-i18next"; @@ -42,19 +41,23 @@ export default function DailyRoundsFilter(props: Props) {