Skip to content

Commit

Permalink
use CareIcon instead of HTML i element
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jan 31, 2024
1 parent ef9a7e4 commit 4c81d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Notifications/NotificationsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export default function NotificationsList({
value={eventFilter}
optionLabel={(o) => o.text}
optionValue={(o) => o.id}
optionIcon={(o) => <i className={`${o.icon} `} />}
optionIcon={(o) => <CareIcon icon={o.icon} />}
onChange={(v) => setEventFilter(v || "")}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Resource/ResourceBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const ResourceCard = ({ resource }: any) => {
title="Assigned to"
className="flex items-center text-sm font-medium leading-5 text-gray-500"
>
<i icon="l-user" className="mr-2" />
<CareIcon icon="l-user" className="mr-2" />
<dd className="text-sm font-bold leading-5 text-gray-900">
{resource.assigned_to_object.first_name}{" "}
{resource.assigned_to_object.last_name} -{" "}
Expand Down

0 comments on commit 4c81d0d

Please sign in to comment.