Skip to content

Commit

Permalink
Make url relative
Browse files Browse the repository at this point in the history
  • Loading branch information
banga committed Jan 13, 2024
1 parent 00a1939 commit 9e2783e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/ErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { AutoReloadScript } from "../lib/auto-reload.js";
export function ErrorPage() {
return (
<BuildContext.Consumer>
{({ baseUrl, cssCacheBuster, shouldAutoReload }) => (
{({ cssCacheBuster, shouldAutoReload }) => (
<html lang="en" style={{ height: "100%" }}>
<head>
<meta charSet="utf-8" />
Expand All @@ -28,7 +28,7 @@ export function ErrorPage() {
<div className="font-large">404</div>
<div>This page does not seem to exist.</div>
<div>
Click <Link href={baseUrl}>here</Link> to visit the home page.
Click <Link href="/">here</Link> to visit the home page.
</div>
</div>
</body>
Expand Down

0 comments on commit 9e2783e

Please sign in to comment.