From 14bbc483fdb338c8e55e77f267ecf0d51415549b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 22 Jul 2024 04:44:31 +0900 Subject: prettier --- frontend/src/routes/golf/watch/apps/Connecting.tsx | 8 ++----- frontend/src/routes/golf/watch/apps/Failed.tsx | 8 ++----- frontend/src/routes/golf/watch/apps/Gaming.tsx | 26 +++++++++++----------- frontend/src/routes/golf/watch/apps/Waiting.tsx | 8 ++----- 4 files changed, 19 insertions(+), 31 deletions(-) (limited to 'frontend/src/routes/golf/watch/apps') diff --git a/frontend/src/routes/golf/watch/apps/Connecting.tsx b/frontend/src/routes/golf/watch/apps/Connecting.tsx index 6f1f356..8dc7a8c 100644 --- a/frontend/src/routes/golf/watch/apps/Connecting.tsx +++ b/frontend/src/routes/golf/watch/apps/Connecting.tsx @@ -3,9 +3,5 @@ type Props = { }; export default (_props: Props) => { - return ( -
- 接続中です...... -
- ); -} + return
接続中です......
; +}; diff --git a/frontend/src/routes/golf/watch/apps/Failed.tsx b/frontend/src/routes/golf/watch/apps/Failed.tsx index 70d3693..3c29d74 100644 --- a/frontend/src/routes/golf/watch/apps/Failed.tsx +++ b/frontend/src/routes/golf/watch/apps/Failed.tsx @@ -3,9 +3,5 @@ type Props = { }; export default (_props: Props) => { - return ( -
- エラー -
- ); -} + return
エラー
; +}; diff --git a/frontend/src/routes/golf/watch/apps/Gaming.tsx b/frontend/src/routes/golf/watch/apps/Gaming.tsx index a17b71e..623cb08 100644 --- a/frontend/src/routes/golf/watch/apps/Gaming.tsx +++ b/frontend/src/routes/golf/watch/apps/Gaming.tsx @@ -10,25 +10,25 @@ type Props = { export default ({ problem, scoreA, codeA, scoreB, codeB }: Props) => { return ( <> -
-
+
+
{problem}
-
-
-
- {scoreA} -
+
+
+
{scoreA}
-
{codeA}
+
+                {codeA}
+              
-
-
- {scoreB} -
+
+
{scoreB}
-
{codeB}
+
+                {codeB}
+              
diff --git a/frontend/src/routes/golf/watch/apps/Waiting.tsx b/frontend/src/routes/golf/watch/apps/Waiting.tsx index bd4f567..e8d5390 100644 --- a/frontend/src/routes/golf/watch/apps/Waiting.tsx +++ b/frontend/src/routes/golf/watch/apps/Waiting.tsx @@ -3,9 +3,5 @@ type Props = { }; export default (_props: Props) => { - return ( -
- 対戦相手が現れるのを待っています...... -
- ); -} + return
対戦相手が現れるのを待っています......
; +}; -- cgit v1.2.3-70-g09d2