From 69904cd2dd622bb039e521a953be1f800b2879f8 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Tue, 6 Sep 2022 14:04:59 +0300 Subject: [PATCH] use next/link in NotFound --- src/components/NotFound/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/NotFound/index.tsx b/src/components/NotFound/index.tsx index 6958a69f..1d1a84f0 100644 --- a/src/components/NotFound/index.tsx +++ b/src/components/NotFound/index.tsx @@ -1,5 +1,7 @@ import s from './error.module.css' +import Link from 'next/link' + export const NotFound: React.FC = () => (
@@ -7,6 +9,10 @@ export const NotFound: React.FC = () => (
-
На главную
+
+ + На главную + +
)