Skip to content

Commit

Permalink
chore: forgot to pass classname to vanilla link
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Apr 5, 2024
1 parent 2742e43 commit 87d5aec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Link = forwardRef<HTMLAnchorElement, ComponentProps<"a">>(function Link(
const useNextJsLink = href?.startsWith("/");

if (!useNextJsLink) {
return <a href={href} onClick={onClick} {...rest} />;
return <a href={href} onClick={onClick} className={className} {...rest} />;
}

return (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.41",
"version": "0.0.42",
"sideEffects": false,
"type": "module",
"scripts": {
Expand Down

0 comments on commit 87d5aec

Please sign in to comment.