Skip to content

Commit 2a130a5

Browse files
committed
Password Check: replace SVG with html icon
1 parent 737964d commit 2a130a5

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

packages/app/src/PasswordCheck.tsx

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -65,28 +65,6 @@ export const CheckOrX = ({
6565
);
6666
};
6767

68-
const Check = () => (
69-
<svg
70-
xmlns="http://www.w3.org/2000/svg"
71-
width="16"
72-
height="16"
73-
fill="currentColor"
74-
className="bi bi-check2"
75-
viewBox="0 0 16 16"
76-
>
77-
<path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z" />
78-
</svg>
79-
);
68+
const Check = () => <i className={'bi bi-check2'}></i>;
8069

81-
const XShape = () => (
82-
<svg
83-
xmlns="http://www.w3.org/2000/svg"
84-
width="16"
85-
height="16"
86-
fill="currentColor"
87-
className="bi bi-x"
88-
viewBox="0 0 16 16"
89-
>
90-
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z" />
91-
</svg>
92-
);
70+
const XShape = () => <i className={'bi bi-x'}></i>;

0 commit comments

Comments
 (0)