From 999cc510eca888a7b86b46c725749bb82e142ee8 Mon Sep 17 00:00:00 2001 From: NabeelAyubee Date: Tue, 10 Dec 2024 11:00:43 +0530 Subject: [PATCH] import issue fix --- .../campaign-manager/src/components/BoundaryWithDate.js | 4 ++-- .../src/hooks/useProjectSearchWithBoundary.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/BoundaryWithDate.js b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/BoundaryWithDate.js index 8e26b99452d..5e2ccff6232 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/BoundaryWithDate.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/components/BoundaryWithDate.js @@ -1,8 +1,8 @@ import React, { useState, useEffect, Fragment } from "react"; import { useTranslation } from "react-i18next"; -import { useLocation } from "react-router-dom"; import { LabelFieldPair, Header } from "@egovernments/digit-ui-react-components"; -import { Button, Card, Dropdown, DustbinIcon, FieldV1, MultiSelectDropdown } from "@egovernments/digit-ui-components"; +import { Card, FieldV1 } from "@egovernments/digit-ui-components"; +import { DustbinIcon } from "./icons/DustbinIcon"; const BoundaryWithDate = ({ project, props, onSelect, dateReducerDispatch, canDelete, onDeleteCard }) => { const { t } = useTranslation(); diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/hooks/useProjectSearchWithBoundary.js b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/hooks/useProjectSearchWithBoundary.js index 0dd6d85806b..e435bdbd27e 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/hooks/useProjectSearchWithBoundary.js +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/campaign-manager/src/hooks/useProjectSearchWithBoundary.js @@ -1,7 +1,6 @@ import getProjectServiceUrl from "../utils/getProjectServiceUrl"; const useProjectSearchWithBoundary = async ({ name, tenantId, boundaries }) => { - const url = getProjectServiceUrl(); const requests = boundaries.map(({ code }) => { const url = getProjectServiceUrl(); return Digit.CustomService.getResponse({