diff --git a/package.json b/package.json
index 71c2f7b..28b1da7 100644
--- a/package.json
+++ b/package.json
@@ -99,6 +99,7 @@
},
"packageManager": "yarn@3.6.0",
"dependencies": {
+ "classnames": "^2.3.2",
"dotenv": "^16.3.1"
}
}
diff --git a/src/cohort-builder.tsx b/src/cohort-builder.tsx
index 2baf8c3..2974f60 100644
--- a/src/cohort-builder.tsx
+++ b/src/cohort-builder.tsx
@@ -1,5 +1,5 @@
import React, { useState } from "react";
-
+import classNames from "classnames";
import { Tab, Tabs, TabList, TabPanels, TabPanel } from "@carbon/react";
import { showToast, useLayoutType } from "@openmrs/esm-framework";
import { useTranslation } from "react-i18next";
@@ -169,12 +169,16 @@ const CohortBuilder: React.FC = () => {
return (
{t("cohortBuilder", "Cohort Builder")}
@@ -183,9 +187,10 @@ const CohortBuilder: React.FC = () => {
{tabs.map((tab: TabItem, index: number) => (
diff --git a/src/components/search-by-demographics/search-by-demographics.component.tsx b/src/components/search-by-demographics/search-by-demographics.component.tsx
index 94b2821..212b91d 100644
--- a/src/components/search-by-demographics/search-by-demographics.component.tsx
+++ b/src/components/search-by-demographics/search-by-demographics.component.tsx
@@ -1,5 +1,5 @@
import React, { useState } from "react";
-
+import classNames from "classnames";
import {
DatePicker,
DatePickerInput,
@@ -84,7 +84,7 @@ const SearchByDemographics: React.FC = ({ onSubmit }) => {
return (
<>
-
+
{t("gender", "Gender")}
diff --git a/yarn.lock b/yarn.lock
index 7d67e1c..171e100 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3042,6 +3042,7 @@ __metadata:
"@types/webpack-env": ^1.18.0
"@typescript-eslint/eslint-plugin": ^5.51.0
"@typescript-eslint/parser": ^5.51.0
+ classnames: ^2.3.2
concurrently: ^7.6.0
css-loader: ^6.7.3
dayjs: ^1.11.7
@@ -6217,7 +6218,7 @@ __metadata:
languageName: node
linkType: hard
-"classnames@npm:2.3.2":
+"classnames@npm:2.3.2, classnames@npm:^2.3.2":
version: 2.3.2
resolution: "classnames@npm:2.3.2"
checksum: 2c62199789618d95545c872787137262e741f9db13328e216b093eea91c85ef2bfb152c1f9e63027204e2559a006a92eb74147d46c800a9f96297ae1d9f96f4e