aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/routes/golf/watch/apps
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-23 21:21:51 +0900
committernsfisis <nsfisis@gmail.com>2024-07-23 22:00:35 +0900
commit20c4d9e8ba120fefca3cc1e91119f55186cc793b (patch)
tree9e61703ed217b20d8439fab15afca68b20882c2f /frontend/src/routes/golf/watch/apps
parent65227f15a4e92fdd7b2fabe5bac797f293da683e (diff)
downloadphperkaigi-2025-albatross-20c4d9e8ba120fefca3cc1e91119f55186cc793b.tar.gz
phperkaigi-2025-albatross-20c4d9e8ba120fefca3cc1e91119f55186cc793b.tar.zst
phperkaigi-2025-albatross-20c4d9e8ba120fefca3cc1e91119f55186cc793b.zip
frontend: format
Diffstat (limited to 'frontend/src/routes/golf/watch/apps')
-rw-r--r--frontend/src/routes/golf/watch/apps/Connecting.tsx4
-rw-r--r--frontend/src/routes/golf/watch/apps/Failed.tsx4
-rw-r--r--frontend/src/routes/golf/watch/apps/Gaming.tsx10
-rw-r--r--frontend/src/routes/golf/watch/apps/Waiting.tsx4
4 files changed, 14 insertions, 8 deletions
diff --git a/frontend/src/routes/golf/watch/apps/Connecting.tsx b/frontend/src/routes/golf/watch/apps/Connecting.tsx
index 8dc7a8c..73d28eb 100644
--- a/frontend/src/routes/golf/watch/apps/Connecting.tsx
+++ b/frontend/src/routes/golf/watch/apps/Connecting.tsx
@@ -2,6 +2,6 @@ type Props = {
gameId: number;
};
-export default (_props: Props) => {
+export default function Connecting(_props: Props) {
return <div>接続中です......</div>;
-};
+}
diff --git a/frontend/src/routes/golf/watch/apps/Failed.tsx b/frontend/src/routes/golf/watch/apps/Failed.tsx
index 3c29d74..2727663 100644
--- a/frontend/src/routes/golf/watch/apps/Failed.tsx
+++ b/frontend/src/routes/golf/watch/apps/Failed.tsx
@@ -2,6 +2,6 @@ type Props = {
gameId: number;
};
-export default (_props: Props) => {
+export default function Failed(_props: Props) {
return <div>エラー</div>;
-};
+}
diff --git a/frontend/src/routes/golf/watch/apps/Gaming.tsx b/frontend/src/routes/golf/watch/apps/Gaming.tsx
index 623cb08..3f9c195 100644
--- a/frontend/src/routes/golf/watch/apps/Gaming.tsx
+++ b/frontend/src/routes/golf/watch/apps/Gaming.tsx
@@ -7,7 +7,13 @@ type Props = {
codeB: string | null;
};
-export default ({ problem, scoreA, codeA, scoreB, codeB }: Props) => {
+export default function Gaming({
+ problem,
+ scoreA,
+ codeA,
+ scoreB,
+ codeB,
+}: Props) {
return (
<>
<div style={{ display: "flex", flexDirection: "column" }}>
@@ -35,4 +41,4 @@ export default ({ problem, scoreA, codeA, scoreB, codeB }: Props) => {
</div>
</>
);
-};
+}
diff --git a/frontend/src/routes/golf/watch/apps/Waiting.tsx b/frontend/src/routes/golf/watch/apps/Waiting.tsx
index e8d5390..a82ee69 100644
--- a/frontend/src/routes/golf/watch/apps/Waiting.tsx
+++ b/frontend/src/routes/golf/watch/apps/Waiting.tsx
@@ -2,6 +2,6 @@ type Props = {
gameId: number;
};
-export default (_props: Props) => {
+export default function Waiting(_props: Props) {
return <div>対戦相手が現れるのを待っています......</div>;
-};
+}