diff --git a/react_webgame/main/GameMatcher.jsx b/react_webgame/main/GameMatcher.jsx index 42769e6b..2b7c6eb4 100644 --- a/react_webgame/main/GameMatcher.jsx +++ b/react_webgame/main/GameMatcher.jsx @@ -19,7 +19,11 @@ class GameMatcher extends Component { } else if (this.props.match.params.name === "lotto-generator") { return ; } - return <>게임이 없습니다.; + return ( + <> +
게임이 없습니다.
+ + ); } } diff --git a/react_webgame/main/Games.jsx b/react_webgame/main/Games.jsx index d23fd460..4e1299c5 100644 --- a/react_webgame/main/Games.jsx +++ b/react_webgame/main/Games.jsx @@ -1,13 +1,10 @@ import React from "react"; -import { BrowserRouter, HashRouter, Link, Route } from "react-router-dom"; -import NumberBaseBall from "./games/NumberBaseball"; -import RSP from "./games/RSP"; -import Lotto from "./games/Lotto"; +import { BrowserRouter, Link, Route, Switch } from "react-router-dom"; import GameMatcher from "./GameMatcher"; const Games = () => { return ( - +
숫자야구   @@ -16,9 +13,12 @@ const Games = () => { GameMatcher
- + + + +
-
+ ); };