Skip to content

Commit 2187d48

Browse files
committed
fix: replace invalid anchor with button in PageLinks
1 parent 458c6a6 commit 2187d48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/PageLinks/PageLinks.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ export default function PageLinks({ page = {} }) {
2626
Edit this page
2727
</a>
2828
<Separator />
29-
<a className={classes} onClick={_handlePrintClick}>
29+
<button type="button" className={classes} onClick={_handlePrintClick}>
3030
Print this page
31-
</a>
31+
</button>
3232
{page.repo ? (
3333
<>
3434
<Separator />

0 commit comments

Comments
 (0)