Commit c81d519 1 parent caeb57f commit c81d519 Copy full SHA for c81d519
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
"build" : " react-scripts build" ,
25
25
"test" : " react-scripts test" ,
26
26
"eject" : " react-scripts eject" ,
27
- "predeploy" : " npm run build" ,
27
+ "predeploy" : " yarn run build" ,
28
28
"deploy" : " gh-pages -d build"
29
29
},
30
30
"eslintConfig" : {
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import ReactDOM from "react-dom";
3
3
import "./index.css" ;
4
4
import App from "./App" ;
5
5
import reportWebVitals from "./reportWebVitals" ;
6
- import { BrowserRouter } from "react-router-dom" ;
6
+ import { HashRouter } from "react-router-dom" ;
7
7
8
8
ReactDOM . render (
9
9
< React . StrictMode >
10
- < BrowserRouter >
10
+ < HashRouter >
11
11
< App />
12
- </ BrowserRouter >
12
+ </ HashRouter >
13
13
</ React . StrictMode > ,
14
14
document . getElementById ( "root" )
15
15
) ;
You can’t perform that action at this time.
0 commit comments