Skip to content

Commit 43719e4

Browse files
committed
Fix icons as react components
1 parent 488f444 commit 43719e4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

site/src/components/icons/ArrowRightIcon.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { SVGProps } from "react";
33
import { forwardRef, memo, Ref } from "react";
44
const ArrowRightIcon = (
55
props: SVGProps<SVGSVGElement>,
6-
ref: Ref<SVGSVGElement>
6+
ref: Ref<SVGSVGElement>,
77
) => (
88
<svg
99
xmlns="http://www.w3.org/2000/svg"
@@ -17,9 +17,9 @@ const ArrowRightIcon = (
1717
<path
1818
d="M0.75 6.75H12.75M12.75 6.75L6.75 12.75M12.75 6.75L6.75 0.75"
1919
stroke="currentColor"
20-
stroke-width="1.5"
21-
stroke-linecap="round"
22-
stroke-linejoin="round"
20+
strokeWidth="1.5"
21+
strokeLinecap="round"
22+
strokeLinejoin="round"
2323
/>
2424
</svg>
2525
);

site/src/components/icons/FileIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const FileIcon = (props: SVGProps<SVGSVGElement>, ref: Ref<SVGSVGElement>) => (
1414
<path
1515
d="M8.66699 1.33337H4.00033C3.6467 1.33337 3.30756 1.47385 3.05752 1.7239C2.80747 1.97395 2.66699 2.31309 2.66699 2.66671V13.3334C2.66699 13.687 2.80747 14.0261 3.05752 14.2762C3.30756 14.5262 3.6467 14.6667 4.00033 14.6667H12.0003C12.3539 14.6667 12.6931 14.5262 12.9431 14.2762C13.1932 14.0261 13.3337 13.687 13.3337 13.3334V6.00004M8.66699 1.33337L13.3337 6.00004M8.66699 1.33337V6.00004H13.3337"
1616
stroke="currentColor"
17-
stroke-linecap="round"
18-
stroke-linejoin="round"
17+
strokeLinecap="round"
18+
strokeLinejoin="round"
1919
/>
2020
</svg>
2121
);

0 commit comments

Comments
 (0)