Fix nested a tag

This commit is contained in:
Mitchell McCaffrey 2020-04-25 00:10:53 +10:00
parent ad7c1fc8c7
commit e705ab2706

View File

@ -5,7 +5,7 @@ import { Link as RouterLink } from "react-router-dom";
function Link({ to, ...rest }) {
return (
<RouterLink to={to}>
<ThemeLink {...rest} />
<ThemeLink as="span" {...rest} />
</RouterLink>
);
}