diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-12 01:34:20 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-12 01:48:08 +0900 |
| commit | b97b245861b93a5ab5f8bde095d9920fabd0cbbd (patch) | |
| tree | fcb88fe6a71747623cbe7f9b5c3042818ab519cd /frontend/app/components/GolfWatchApp.client.tsx | |
| parent | 5964fa404909550a2dd42a75633fef223fdb05fb (diff) | |
| download | iosdc-japan-2024-albatross-b97b245861b93a5ab5f8bde095d9920fabd0cbbd.tar.gz iosdc-japan-2024-albatross-b97b245861b93a5ab5f8bde095d9920fabd0cbbd.tar.zst iosdc-japan-2024-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.tsx | 5 |
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"; |
