Avoid append of # to URL

This commit is contained in:
0x1eef 2024-08-31 00:36:52 -03:00
parent 735e8bcc20
commit cfce51e29c

View file

@ -10,7 +10,7 @@ type Props = {
export function Option({ children, href, className, onClick }: Props) {
return (
<a href={href || "#"} className={className} onClick={onClick}>
<a href={href} className={className} onClick={onClick}>
{children as string}
</a>
);