fix: Resolve issue with "Back to Home" button on 404 page (#1381)

Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
This commit is contained in:
Shyam Raghuwanshi
2023-10-22 19:09:43 +05:30
committed by GitHub
parent c86a06ddbb
commit 6ea2c7b354

View File

@@ -1,5 +1,5 @@
import { Button } from "@formbricks/ui/Button";
import Link from "next/link";
export default function NotFound() {
return (
<>
@@ -9,9 +9,9 @@ export default function NotFound() {
<p className="mt-2 text-base text-zinc-600 dark:text-zinc-400">
Sorry, we couldnt find the page youre looking for.
</p>
<Button href="/" className="mt-8">
Back to home
</Button>
<Link href={"/"}>
<Button className="mt-8">Back to home</Button>
</Link>
</div>
</>
);