From 8fc40c8def4edd64e16c1d2e19da180bc36d5526 Mon Sep 17 00:00:00 2001 From: dexagod Date: Sun, 4 Oct 2020 18:55:41 +0200 Subject: [PATCH] Use React HashRouter for github pages routing --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 91722e7..a8e0cf7 100644 --- a/src/index.js +++ b/src/index.js @@ -4,12 +4,12 @@ import './index.css'; import App from './App'; import HelpContainerComponent from './Components/HelpContainerComponent' import * as serviceWorker from './serviceWorker'; -import { Route, Link, BrowserRouter as Router, Switch } from 'react-router-dom' +import { Route, Link, HashRouter as Router, Switch } from 'react-router-dom' ReactDOM.render( - +