Skip to content

Commit

Permalink
Use Link instead NavLink
Browse files Browse the repository at this point in the history
  • Loading branch information
shivarm authored and johnaohara committed May 28, 2024
1 parent 88cc42e commit 33f0f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions horreum-web/src/404.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NavLink } from "react-router-dom";
import { Link } from "react-router-dom";


function NotFound() {
Expand All @@ -7,10 +7,10 @@ function NotFound() {
<div className="not-found-container">
<h1 className="title">404 Not Found</h1>
<p className="">The page you are looking for does not exist.</p>
<NavLink className="homeBtn" to="/">Go to Home</NavLink>
<Link to="/" className="homeBtn">Go to Home</Link>
</div>

);
}

export default NotFound;
export default NotFound;

0 comments on commit 33f0f72

Please sign in to comment.