From 53f8b1734f412db4161c60a9021b72f730eee6c7 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Fri, 16 Oct 2020 14:10:32 +0100 Subject: [PATCH] Update routes --- package.json | 2 +- src/App.tsx | 3 +++ src/components/NavBar.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0397b7d..078e27e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "styled-components": "^5.2.0", "typescript": "~3.7.2" }, - "homepage": "https://hazemkrimi.github.io/react-weather-app", + "homepage": "https://hazemkrimi.github.io/react-weather-app/home", "scripts": { "start": "react-scripts start", "build": "react-scripts build", diff --git a/src/App.tsx b/src/App.tsx index 572b36f..2448519 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,6 +20,9 @@ const App: React.FC = () => { + + + diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx index 62c5add..e7bfca1 100644 --- a/src/components/NavBar.tsx +++ b/src/components/NavBar.tsx @@ -20,7 +20,7 @@ const NavBar: React.FC = () => { return ( );