Skip to content

Commit

Permalink
setup gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelikesnow committed Apr 24, 2024
1 parent 6c3121e commit 6b0e417
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import React from "react";
import ReactDOM from "react-dom/client";

import App from "./components/App";
import { HashRouter as Router } from "react-router-dom";

import "./reset.css";
import "./styles.css";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<React.StrictMode>
<Router>
<App />
</React.StrictMode>
</Router>
);

0 comments on commit 6b0e417

Please sign in to comment.