Skip to content

Commit

Permalink
Update icons (#451)
Browse files Browse the repository at this point in the history
Co-authored-by: md <[email protected]>
  • Loading branch information
Dahly96 and md authored Mar 6, 2024
1 parent daf6b1e commit b0865bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 11 additions & 3 deletions frontend/src/components/consultants/FilteredConsultantsComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -306,7 +306,11 @@ export default function FilteredConsultantsComp() {
}
}}
>
<FiEdit3 className="text-primary" size="24" />
{selectedEditConsultant?.id === consultant.id ? (
<Check className="text-primary" size="24" />
) : (
<Edit3 className="text-primary" size="24" />
)}
</button>
</td>
</tr>
Expand Down Expand Up @@ -486,7 +490,11 @@ export default function FilteredConsultantsComp() {
}
}}
>
<FiEdit3 className="text-primary" size="24" />
{selectedEditConsultant?.id === consultant.id ? (
<Check className="text-primary" size="24" />
) : (
<Edit3 className="text-primary" size="24" />
)}
</button>
</td>
</tr>
Expand Down
5 changes: 0 additions & 5 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b0865bf

Please sign in to comment.