Skip to content

Commit c41d250

Browse files
committed
use HashRouter instead of BrowserRouter
1 parent ee53bac commit c41d250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
// import package
3-
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
3+
import { HashRouter as Router, Route, Switch } from 'react-router-dom';
44
// import relative path
55
import Home from './Home';
66
import NotFound from './NotFound';

0 commit comments

Comments
 (0)