From ab2870c545d5ca32dca2167bbdd282ef3e86a9bc Mon Sep 17 00:00:00 2001 From: Dedaldino3D Date: Sun, 8 Nov 2020 00:49:30 +0100 Subject: [PATCH] Add Header in 404Not Found component --- src/components/404NotFound/index.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/components/404NotFound/index.js b/src/components/404NotFound/index.js index f0f2220..15bf6fe 100644 --- a/src/components/404NotFound/index.js +++ b/src/components/404NotFound/index.js @@ -2,6 +2,8 @@ import React from "react"; import { Result, Button } from "antd"; import { useHistory } from "react-router-dom"; +import Header from "../Header"; + export const NotFound404 = () => { const history = useHistory(); @@ -11,12 +13,15 @@ export const NotFound404 = () => { }; return ( - Back Home} - /> + <> +
+ Back Home} + /> + ); };