We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 514bf16 commit c6bddceCopy full SHA for c6bddce
src/app/not-found.tsx
@@ -13,7 +13,7 @@ export default function Page() {
13
name: "graphql.github.io",
14
}
15
16
- const referrer = document?.referrer
+ const referrer = mounted && document.referrer
17
const title = `Found broken \`${mounted ? pathname?.replace(/\/$/, "") : ""}\` link${referrer ? ` from \`${referrer}\`` : ""}. Please fix!`
18
const labels = "bug"
19
0 commit comments