Skip to content

Commit

Permalink
Replaced svg files with Phospho icon (error icon)
Browse files Browse the repository at this point in the history
  • Loading branch information
thea2506 committed Mar 2, 2024
1 parent bed6bc0 commit 93778c7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/InputCode.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//#region Imports
import { twMerge } from "tailwind-merge";
import { useRef, useState } from "react";
import { WarningCircle } from "@phosphor-icons/react";
//#endregion

//#region Interfaces
Expand Down Expand Up @@ -116,11 +117,7 @@ export function InputCode({
{/* Error Message */}
{error && (
<div className="flex text-body-sm items-center gap-x-1 text-status-red-main">
<img
src="src/assets/images/error.svg"
alt="Error icon"
className="w-5"
/>
<WarningCircle size={20} />
<p>Error passcode</p>
</div>
)}
Expand Down

0 comments on commit 93778c7

Please sign in to comment.