Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
09d53efc
Commit
09d53efc
authored
Oct 09, 2018
by
Zach Osman
Browse files
BrowserRouter -> HashRouter
parent
dfb0643d
Pipeline
#3204
passed with stage
in 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go_ahead/src/index.js
View file @
09d53efc
import
React
from
'
react
'
;
import
ReactDOM
from
'
react-dom
'
;
import
{
Browser
Router
,
Route
,
Link
}
from
'
react-router-dom
'
;
import
{
Hash
Router
,
Route
,
Link
}
from
'
react-router-dom
'
;
import
{
HomePage
}
from
'
./Components
'
;
...
...
@@ -22,8 +22,8 @@ const App = () => (
);
ReactDOM
.
render
(
<
Browser
Router
>
<
Hash
Router
>
<
App
/>
<
/
Browser
Router>
,
<
/
Hash
Router>
,
document
.
getElementById
(
'
root
'
)
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment