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/Menu/HomePageMenu.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/components/Menu/HomePageMenu.js') diff --git a/src/components/Menu/HomePageMenu.js b/src/components/Menu/HomePageMenu.js index 29295bb..92f2a8d 100644 --- a/src/components/Menu/HomePageMenu.js +++ b/src/components/Menu/HomePageMenu.js @@ -7,17 +7,18 @@ */ import React from "react"; +import {Link} from "react-router-dom"; import "./HomePageMenu.scss"; const HomePageMenu = () => { return (
- + Create Invoice - - + + Don't Create Invoice - +
) } -- cgit v1.2.3