From b0865bf23f322fffec65511381154ff74cc35a85 Mon Sep 17 00:00:00 2001 From: Magnus Dahl <55053871+Dahly96@users.noreply.github.com> Date: Wed, 6 Mar 2024 15:36:07 +0100 Subject: [PATCH] Update icons (#451) Co-authored-by: md --- frontend/package.json | 1 - .../consultants/FilteredConsultantsComp.tsx | 14 +++++++++++--- frontend/yarn.lock | 5 ----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index fde986da..9b9a89d8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -28,7 +28,6 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "react-feather": "^2.0.10", - "react-icons": "^5.0.1", "react-multi-date-picker": "^4.4.1", "react-query": "^3.39.3", "react-select": "^5.8.0", diff --git a/frontend/src/components/consultants/FilteredConsultantsComp.tsx b/frontend/src/components/consultants/FilteredConsultantsComp.tsx index 957f5193..9f3ff1f4 100644 --- a/frontend/src/components/consultants/FilteredConsultantsComp.tsx +++ b/frontend/src/components/consultants/FilteredConsultantsComp.tsx @@ -8,7 +8,7 @@ import { import { useSimpleConsultantsFilter } from "@/hooks/staffing/useConsultantsFilter"; import Image from "next/image"; import React, { useContext, useEffect, useRef, useState } from "react"; -import { FiEdit3 } from "react-icons/fi"; +import { Edit3, Check } from "react-feather"; import EditableTableTextCell from "./EditableTableTextCell"; import EditableTableDateCell from "./EditableTableDateCell"; import { FilteredContext } from "@/hooks/ConsultantFilterProvider"; @@ -306,7 +306,11 @@ export default function FilteredConsultantsComp() { } }} > - + {selectedEditConsultant?.id === consultant.id ? ( + + ) : ( + + )} @@ -486,7 +490,11 @@ export default function FilteredConsultantsComp() { } }} > - + {selectedEditConsultant?.id === consultant.id ? ( + + ) : ( + + )} diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 5450f186..317e74d7 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2466,11 +2466,6 @@ react-feather@^2.0.10: dependencies: prop-types "^15.7.2" -react-icons@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-5.0.1.tgz#1694e11bfa2a2888cab47dcc30154ce90485feee" - integrity sha512-WqLZJ4bLzlhmsvme6iFdgO8gfZP17rfjYEJ2m9RsZjZ+cc4k1hTzknEz63YS1MeT50kVzoa1Nz36f4BEx+Wigw== - react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"