mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
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:
committed by
GitHub
parent
c86a06ddbb
commit
6ea2c7b354
@@ -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 couldn’t find the page you’re looking for.
|
||||
</p>
|
||||
<Button href="/" className="mt-8">
|
||||
Back to home
|
||||
</Button>
|
||||
<Link href={"/"}>
|
||||
<Button className="mt-8">Back to home</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user