fix some minor link bug

This commit is contained in:
sanjidaRimi023
2026-05-06 19:43:33 +06:00
parent f368d98760
commit 6f74ae9da8
5 changed files with 32 additions and 29 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import { useLocation } from "react-router-dom";
import { Link, useLocation } from "react-router-dom";
import { useEffect } from "react";
const NotFound = () => {
@@ -13,9 +13,9 @@ const NotFound = () => {
<div className="text-center">
<h1 className="mb-4 text-4xl font-bold">404</h1>
<p className="mb-4 text-xl text-muted-foreground">Oops! Page not found</p>
<a href="/" className="text-primary underline hover:text-primary/90">
<Link to="/" className="text-primary underline hover:text-primary/90">
Return to Home
</a>
</Link>
</div>
</div>
);