diff --git a/packages/web/components/MainTabsOrPages/ViewConvo.tsx b/packages/web/components/MainTabsOrPages/ViewConvo.tsx index 09613d0..cce51bf 100644 --- a/packages/web/components/MainTabsOrPages/ViewConvo.tsx +++ b/packages/web/components/MainTabsOrPages/ViewConvo.tsx @@ -88,12 +88,6 @@ const testDrawerItems: { const AUDIO_CLIP_FETCH_LIMIT = 50; -enum ConvoModal { - na = "na", - editTldr = "editTldr", - adminEdit = "adminEdit", -} - export default function ViewConvo(props: { conversationId: string }) { const { currUser } = useAuth(); @@ -101,10 +95,6 @@ export default function ViewConvo(props: { conversationId: string }) { const endOfTimeline = useRef(null); - const [currentConvoModal, setCurrConvoModal] = useState( - ConvoModal.na - ); - const router = useRouter(); // auth if do not have this conversation in react cache, then we are not authorized @@ -192,19 +182,11 @@ export default function ViewConvo(props: { conversationId: string }) { } }; - const handleCloseModal = () => { - setCurrConvoModal(ConvoModal.na); - }; - // to allow not having commands while editing the input configure({ ignoreTags: ["input", "select", "textarea"], }); - const handleEditTldr = () => { - console.log("updating tldr with modal"); - }; - const [editTldrMode, setEditTldrMode] = useState(false); const [newTldr, setNewTldr] = useState(""); const [isSubmitting, setIsSubmitting] = useState(false);