Commit 09d53efc authored by Zach Osman's avatar Zach Osman

BrowserRouter -> HashRouter

parent dfb0643d
Pipeline #3204 passed with stage
in 52 seconds
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import { BrowserRouter, Route, Link } from 'react-router-dom'; import { HashRouter, Route, Link } from 'react-router-dom';
import { HomePage } from './Components'; import { HomePage } from './Components';
...@@ -22,8 +22,8 @@ const App = () => ( ...@@ -22,8 +22,8 @@ const App = () => (
); );
ReactDOM.render( ReactDOM.render(
<BrowserRouter> <HashRouter>
<App /> <App />
</BrowserRouter>, </HashRouter>,
document.getElementById('root') document.getElementById('root')
); );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment