Skip to content

Commit afda6b7

Browse files
committed
feat: use hashRouter to be compatible with gh-pages
1 parent f4a3e89 commit afda6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, {
22
Component
33
} from 'react'
44
import {
5-
BrowserRouter as Router,
5+
HashRouter as Router,
66
Route
77
} from 'react-router-dom'
88
import ScrollToTop from './ScrollToTop'

0 commit comments

Comments
 (0)