aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/states/watch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/states/watch.ts')
-rw-r--r--frontend/app/states/watch.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/app/states/watch.ts b/frontend/app/states/watch.ts
index 3b80f2f..ba3dd2a 100644
--- a/frontend/app/states/watch.ts
+++ b/frontend/app/states/watch.ts
@@ -1,4 +1,5 @@
import { atom } from "jotai";
+import { AudioController } from "../.client/audio/AudioController";
import type { components } from "../.server/api/schema";
import type { SubmitResult } from "../types/SubmitResult";
@@ -245,3 +246,5 @@ export const handleWsSubmitResultMessageAtom = atom(
callback(player_id, newResult, score);
},
);
+
+export const audioControllerAtom = atom<AudioController | null>(null);