e9054744d8
While we were fixing how Next.js handled CSS, we added a complex prefetch, preload, fetch sequence to acquire the CSS asset. This unnecessarily overcomplicated what could've been only a `fetch()` from the very start! --- Fixes #16932
16 lines
325 B
JavaScript
16 lines
325 B
JavaScript
import Link from 'next/link'
|
|
import css from './index.module.css'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<main>
|
|
<Link href="/other" prefetch={false}>
|
|
<a id="link-other">other</a>
|
|
</Link>
|
|
<br />
|
|
<h1 id="black-title" className={css.header}>
|
|
Black
|
|
</h1>
|
|
</main>
|
|
)
|
|
}
|