diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-21 02:46:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-21 02:46:37 +0900 |
| commit | 483e297f4789fb1fdaa241f87686a00ef55a046d (patch) | |
| tree | f4227c503ce82ffeba84603f872f7237fbee8ea7 /frontend/app/routes | |
| parent | 0765f61a494de1f284042ba56382983d58d5a6f5 (diff) | |
| parent | 5dba0da3efae63cab5313582a17f20dbb41c6450 (diff) | |
| download | phperkaigi-2025-albatross-483e297f4789fb1fdaa241f87686a00ef55a046d.tar.gz phperkaigi-2025-albatross-483e297f4789fb1fdaa241f87686a00ef55a046d.tar.zst phperkaigi-2025-albatross-483e297f4789fb1fdaa241f87686a00ef55a046d.zip | |
Merge branch 'feat/audio'
Diffstat (limited to 'frontend/app/routes')
| -rw-r--r-- | frontend/app/routes/golf.$gameId.watch.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/app/routes/golf.$gameId.watch.tsx b/frontend/app/routes/golf.$gameId.watch.tsx index 5edf92f..7e90b2d 100644 --- a/frontend/app/routes/golf.$gameId.watch.tsx +++ b/frontend/app/routes/golf.$gameId.watch.tsx @@ -3,7 +3,7 @@ import { useLoaderData } from "@remix-run/react"; import { ClientOnly } from "remix-utils/client-only"; import { apiGetGame, apiGetToken } from "../.server/api/client"; import { ensureUserLoggedIn } from "../.server/auth"; -import GolfWatchApp from "../components/GolfWatchApp.client"; +import GolfWatchAppWithAudioPlayRequest from "../components/GolfWatchAppWithAudioPlayRequest.client"; import GolfWatchAppConnecting from "../components/GolfWatchApps/GolfWatchAppConnecting"; export const meta: MetaFunction<typeof loader> = ({ data }) => [ @@ -41,7 +41,9 @@ export default function GolfWatch() { return ( <ClientOnly fallback={<GolfWatchAppConnecting />}> - {() => <GolfWatchApp game={game} sockToken={sockToken} />} + {() => ( + <GolfWatchAppWithAudioPlayRequest game={game} sockToken={sockToken} /> + )} </ClientOnly> ); } |
