Avoid append of # to URL
This commit is contained in:
parent
735e8bcc20
commit
cfce51e29c
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue