Skip to content

Commit

Permalink
[FIX]: Removed Hash Router
Browse files Browse the repository at this point in the history
  • Loading branch information
jatiinyadav committed Feb 14, 2025
1 parent 38693f8 commit 971355c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { HashRouter as Router, Routes, Route } from "react-router-dom";
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Hero from "./components/Hero";
import Connectivity from "./components/Connectivity";
import Cyrene from "./components/Cyrene";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Footer = () => {
(item, index) => (
<a
key={index}
href={`/#/${item.toLowerCase().replace(/\s+/g, "-")}`} // Replaces all spaces with '-'
href={`/${item.toLowerCase().replace(/\s+/g, "-")}`} // Replaces all spaces with '-'
target="_blank"
rel="noreferrer"
className="footer-link"
Expand Down

0 comments on commit 971355c

Please sign in to comment.