Appease TypeScript and fix bug
This commit is contained in:
parent
d4588413e4
commit
735e8bcc20
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue