From 644e90fbfa94e8ee17027afa9d1b087c9bdde6a1 Mon Sep 17 00:00:00 2001 From: Vishwajeet Raj Date: Sun, 6 Mar 2022 11:55:40 +0530 Subject: [PATCH] revert routing. --- src/Components/Navigation/Navigation.js | 10 ++++----- src/Components/Router.js | 30 ++++++++++++------------- src/Routes/StudentReportsPage.js | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Components/Navigation/Navigation.js b/src/Components/Navigation/Navigation.js index 76b62b4..a528131 100644 --- a/src/Components/Navigation/Navigation.js +++ b/src/Components/Navigation/Navigation.js @@ -143,11 +143,11 @@ export default withRouter((props) => { const ScrollLinks = [ { - to: "/2020/mentors", + to: "/mentors", text: "Mentors", }, { - to: "/2020/organisers", + to: "/organisers", text: "Organisers", }, { @@ -155,18 +155,18 @@ const ScrollLinks = [ text: "Organisations", }, { - to: "/2020/student-reports", + to: "/2020-student-reports", text: "Student Reports", }, ]; const Links = [ { - to: "/2020", + to: "/", text: "Home", }, { - to: "/2020/student-reports", + to: "/2020-student-reports", text: "Student Reports", }, ]; diff --git a/src/Components/Router.js b/src/Components/Router.js index f9482fc..21942c7 100644 --- a/src/Components/Router.js +++ b/src/Components/Router.js @@ -43,21 +43,21 @@ const AppRouter = () => ( - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +