Skip to content

Commit

Permalink
use hash router to prevent GitHub Pages refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Phikho-cc committed Nov 1, 2024
1 parent d568246 commit 34b64e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from 'react'
import "./styles/App.css"
import { BrowserRouter as Router, Route, Routes } from "react-router-dom";
import { HashRouter as Router, Route, Routes } from "react-router-dom";
import Home from "./components/Home"
import Portfolio from "./components/Portfolio"
import Contact from "./components/Contact"
Expand Down

0 comments on commit 34b64e1

Please sign in to comment.