Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
krishaamer committed Sep 3, 2024
1 parent bb88a63 commit b8d002f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/compare.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function compare() {
)
}

function CheckIcon(props) {
function CheckIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
Expand All @@ -224,11 +224,10 @@ function CheckIcon(props) {
>
<path d="M20 6 9 17l-5-5" />
</svg>
)
);
}


function DoorClosedIcon(props) {
function DoorClosedIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
Expand All @@ -246,5 +245,5 @@ function DoorClosedIcon(props) {
<path d="M2 20h20" />
<path d="M14 12v.01" />
</svg>
)
);
}

0 comments on commit b8d002f

Please sign in to comment.