From e21a1c15a2e4bf3e51cdd7a5671bbfee5837ef13 Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Tue, 15 Jun 2021 19:20:04 +0530 Subject: Using react-router to switch pages --- src/components/Header/Header.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/components/Header/Header.js') diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index 5fb5104..a1bd097 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -7,6 +7,7 @@ */ import React from "react"; +import {Link} from "react-router-dom"; import "./Header.scss"; const Header = () => { @@ -18,10 +19,8 @@ const Header = () => {
-- cgit v1.2.3