diff --git a/src/pages/Play/GameInterface.tsx b/src/pages/Play/GameInterface.tsx index 265ad3a..74f3dc4 100644 --- a/src/pages/Play/GameInterface.tsx +++ b/src/pages/Play/GameInterface.tsx @@ -209,20 +209,7 @@ const GameInterface = (props: GameInterfaceProps) => { }; return ( -
+
setOpen(false)}> {isAborted @@ -244,47 +231,30 @@ const GameInterface = (props: GameInterfaceProps) => { gameState.junme === 19 ? ( ) : ( -
-
-
+
+
+
+
+
{gameState.isAgari ? ( ) : ( <> {display === "sutehai" ? ( - +
- +
) : ( - +
{ tehai={gameState.tehai} tsumo={gameState.tsumo} /> - +
)} - +
{isLoading ? ( <> @@ -311,41 +276,33 @@ const GameInterface = (props: GameInterfaceProps) => { toitsuSyanten={gameState.toitsuSyanten} /> )} - +
{isLoading ? ( <> - +
- +
) : ( - +
- +
)} )}
- {isLoading ? ( - - ) : ( - - )} +
+ {isLoading ? ( + + ) : ( + + )} +
) ) : ( diff --git a/src/pages/Play/components/DiscardArea.tsx b/src/pages/Play/components/DiscardArea.tsx index 8954741..4912e4d 100644 --- a/src/pages/Play/components/DiscardArea.tsx +++ b/src/pages/Play/components/DiscardArea.tsx @@ -13,22 +13,8 @@ function DiscardArea(props: DiscardAreaProps) { }; }); return ( -
-
+
+
{sutehaiWithID.map((hai) => (
  • {props.display === "sutehai" ? ( -
    +
    ) : ( -
    +