diff --git a/src/components/homePage/Navigation.js b/src/components/homePage/Navigation.js index 3f5468f..0ac6c79 100644 --- a/src/components/homePage/Navigation.js +++ b/src/components/homePage/Navigation.js @@ -3,10 +3,10 @@ import "../../assets/styles/verticalNavigation.css"; import { Link, useLocation } from "react-router-dom"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { - faCommentDots, + // faCommentDots, faHome, faInfoCircle, - faMapMarkedAlt, + // faMapMarkedAlt, } from "@fortawesome/free-solid-svg-icons"; /* the vertical location bar */ @@ -59,20 +59,22 @@ function Navigation() { ); diff --git a/src/components/homePage/Services.js b/src/components/homePage/Services.js index 402f388..b56fe7c 100644 --- a/src/components/homePage/Services.js +++ b/src/components/homePage/Services.js @@ -79,7 +79,7 @@ function Services() { const errors = (err) => { setLoading(false); alert( - "Location Permission Denied! Emable permission to detect location", + "Location Permission Denied! Enable permission to detect location", err ); }; @@ -101,7 +101,7 @@ function Services() { navigator.geolocation.getCurrentPosition(fetchData, errors, options); } else if (result.state === "denied") { alert( - "Location Permission Denied! Emable permission to detect location" + "Location Permission Denied! Enable permission to detect location" ); defultonPermissionDenied(); } diff --git a/src/pages/AboutPage.js b/src/pages/AboutPage.js index aaaa2b6..619b459 100644 --- a/src/pages/AboutPage.js +++ b/src/pages/AboutPage.js @@ -8,7 +8,7 @@ import axios from "axios"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPlus } from "@fortawesome/free-solid-svg-icons"; import { useHistory } from "react-router-dom"; -import About from './About'; +import About from "./About"; /* this is the hopepage component it acts as a wrapper to all the other components @@ -44,7 +44,7 @@ function HomePage() { }; const errors = (err) => { alert( - "Location Permission Denied! Emable permission to detect location", + "Location Permission Denied! Enable permission to detect location", err ); }; @@ -63,7 +63,7 @@ function HomePage() { navigator.geolocation.getCurrentPosition(fetchData, errors, options); } else if (result.state === "denied") { alert( - "Location Permission Denied! Emable permission to detect location" + "Location Permission Denied! Enable permission to detect location" ); } result.onchange = function () {};