Skip to content

Commit

Permalink
Appease TypeScript and fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1eef committed Aug 31, 2024
1 parent d458841 commit 735e8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/Select/Option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Props = {
export function Option({ children, href, className, onClick }: Props) {
return (
<a href={href || "#"} className={className} onClick={onClick}>
{String(children)}
{children as string}
</a>
);
}

0 comments on commit 735e8bc

Please sign in to comment.