From 6c8de9f9189b35f298ee1e28db4a5785d3cb3154 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Sun, 6 Feb 2022 17:35:02 -0800 Subject: [PATCH] Update ViewConvo.tsx --- .../components/MainTabsOrPages/ViewConvo.tsx | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/packages/web/components/MainTabsOrPages/ViewConvo.tsx b/packages/web/components/MainTabsOrPages/ViewConvo.tsx index bce23ec..6a749a4 100644 --- a/packages/web/components/MainTabsOrPages/ViewConvo.tsx +++ b/packages/web/components/MainTabsOrPages/ViewConvo.tsx @@ -21,6 +21,8 @@ import UserAvatar, { UserAvatarSizes } from "../UserDetails/UserAvatar"; import { useRecoilValue, useSetRecoilState } from "recoil"; import { allRelevantConversationsAtom, + audioQueueCurrentClipSelector, + isRecordingAtom, selectedConvoAtom, userConvoAssociationSelector, } from "../../recoil/main"; @@ -229,6 +231,9 @@ export default function ViewConvo(props: { conversationId: string }) { toast("Coming soon!"); }; + const isRecording = useRecoilValue(isRecordingAtom); + const audioQueueCurrentItem = useRecoilValue(audioQueueCurrentClipSelector); + return ( <> {/* - + - +