File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ import React, { Component } from "react";
2
2
import {
3
3
Route ,
4
4
NavLink ,
5
- BrowserRouter as Router ,
5
+ // BrowserRouter as Router,
6
+ HashRouter as Router ,
6
7
Switch
7
8
} from "react-router-dom" ;
8
9
import Demo from "./animations/Demo" ;
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import "./demo.css";
3
3
import {
4
4
Route ,
5
5
NavLink ,
6
- BrowserRouter as Router ,
6
+ // BrowserRouter as Router,
7
+ HashRouter as Router ,
7
8
Switch
8
9
} from "react-router-dom" ;
9
10
class Demo extends React . Component {
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import ReactDOM from "react-dom";
3
3
import {
4
4
Route ,
5
5
NavLink ,
6
- BrowserRouter as Router ,
6
+ // BrowserRouter as Router,
7
+ HashRouter as Router ,
7
8
Switch
8
9
} from "react-router-dom" ;
9
10
import "./index.css" ;
You can’t perform that action at this time.
0 commit comments