Skip to content

Commit

Permalink
[FIX]새로고침 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ChungO5 committed Jul 10, 2024
1 parent 0334277 commit ad8c17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const App = () => {
<Route path="/signup" Component={SignUpPage} />
<Route path="/game/:gameId" Component={GamePage} />
<Route path="/test" Component={TestPage} />
<Route Component={"index.html"} />
</Routes>
);
};
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { BrowserRouter } from "react-router-dom";
import { HashRouter } from "react-router-dom";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
<BrowserRouter>
<HashRouter>
<App />
</BrowserRouter>
</HashRouter>
);

// If you want to start measuring performance in your app, pass a function
Expand Down

0 comments on commit ad8c17f

Please sign in to comment.