Appease TypeScript and fix bug

This commit is contained in:
0x1eef 2024-08-31 00:34:07 -03:00
parent d4588413e4
commit 735e8bcc20

View file

@ -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>
);
}