Skip to content

Commit 46b5bd0

Browse files
fix(lint): use next/link instead of <a> for /faq back button
1 parent abf8c1e commit 46b5bd0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/faq/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Metadata } from 'next'
2+
import Link from 'next/link'
23

34
export const metadata: Metadata = {
45
title: 'FAQ — Commitment Issues',
@@ -86,7 +87,7 @@ export default function FAQPage() {
8687
<main className="page-shell-main">
8788
<FAQJsonLd />
8889
<div className="page-shell-inner">
89-
<a href="/" style={{ display: 'inline-block', marginBottom: 24, color: 'var(--ink-fade)', fontSize: 14, textDecoration: 'none' }}>← Back to Commitment Issues</a>
90+
<Link href="/" style={{ display: 'inline-block', marginBottom: 24, color: 'var(--ink-fade)', fontSize: 14, textDecoration: 'none' }}>← Back to Commitment Issues</Link>
9091
<h1 style={{ fontSize: 36, fontWeight: 800, letterSpacing: '-0.025em', margin: '0 0 8px' }}>
9192
Frequently Asked Questions
9293
</h1>

0 commit comments

Comments
 (0)