Skip to content

Commit

Permalink
Fix NavTop Github link
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjul3s committed Jan 5, 2021
1 parent 4d20a9b commit d967b42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/AnchorLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const AnchorLink: React.FC<Props> = ({
const isDisabled = !!variant ? variant : void 0;

return (
<Anchor href={href} variant={isDisabled} {...targetBlank} {...props} as="a">
<Anchor href={href} variant={isDisabled} {...targetBlank} {...props}>
{children}
</Anchor>
);
Expand Down
5 changes: 4 additions & 1 deletion docs/components/Global/NavTop/NavTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ export function NavTop() {
<ArtifakTypeLogo />
</AnchorLink>
<NavTopMenu>
<NavTopLink href="https//github.com/heyjul3s/artifak">
<NavTopLink
href="https://github.com/heyjul3s/artifak"
openAsNewTab={true}
>
Github
</NavTopLink>
<NavTopLink href="/docs">Docs</NavTopLink>
Expand Down

0 comments on commit d967b42

Please sign in to comment.