Skip to content

Commit

Permalink
Se agrega dependencia de react-router-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
hendaniel committed Sep 7, 2020
1 parent 85bccb8 commit a2c7077
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 1 deletion.
96 changes: 96 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"node-sass": "^4.14.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3",
"redux-thunk": "^2.3.0"
},
Expand Down
8 changes: 7 additions & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import React from "react";
import { render } from "react-dom";
import { HashRouter } from "react-router-dom";
import "./index.scss";
import App from "./App";

render(<App />, document.getElementById("root"));
render(
<HashRouter>
<App />
</HashRouter>,
document.getElementById("root")
);

0 comments on commit a2c7077

Please sign in to comment.