aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApp.client.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-12 01:34:20 +0900
committernsfisis <nsfisis@gmail.com>2024-08-12 01:48:08 +0900
commitb97b245861b93a5ab5f8bde095d9920fabd0cbbd (patch)
treefcb88fe6a71747623cbe7f9b5c3042818ab519cd /frontend/app/components/GolfWatchApp.client.tsx
parent5964fa404909550a2dd42a75633fef223fdb05fb (diff)
downloadphperkaigi-2025-albatross-b97b245861b93a5ab5f8bde095d9920fabd0cbbd.tar.gz
phperkaigi-2025-albatross-b97b245861b93a5ab5f8bde095d9920fabd0cbbd.tar.zst
phperkaigi-2025-albatross-b97b245861b93a5ab5f8bde095d9920fabd0cbbd.zip
refactor(frontend): move some types to app/models
Diffstat (limited to 'frontend/app/components/GolfWatchApp.client.tsx')
-rw-r--r--frontend/app/components/GolfWatchApp.client.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx
index 1da2066..3f97d2a 100644
--- a/frontend/app/components/GolfWatchApp.client.tsx
+++ b/frontend/app/components/GolfWatchApp.client.tsx
@@ -1,11 +1,10 @@
import { useEffect, useState } from "react";
import type { components } from "../.server/api/schema";
import useWebSocket, { ReadyState } from "../hooks/useWebSocket";
+import type { PlayerInfo } from "../models/PlayerInfo";
import GolfWatchAppConnecting from "./GolfWatchApps/GolfWatchAppConnecting";
import GolfWatchAppFinished from "./GolfWatchApps/GolfWatchAppFinished";
-import GolfWatchAppGaming, {
- PlayerInfo,
-} from "./GolfWatchApps/GolfWatchAppGaming";
+import GolfWatchAppGaming from "./GolfWatchApps/GolfWatchAppGaming";
import GolfWatchAppStarting from "./GolfWatchApps/GolfWatchAppStarting";
import GolfWatchAppWaiting from "./GolfWatchApps/GolfWatchAppWaiting";