From 5dba0da3efae63cab5313582a17f20dbb41c6450 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Wed, 21 Aug 2024 02:46:06 +0900
Subject: feat(frontend): partially implement sound effect

---
 frontend/app/routes/golf.$gameId.watch.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'frontend/app/routes/golf.$gameId.watch.tsx')

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>
 	);
 }
-- 
cgit v1.3.1

