Skip to content

Commit

Permalink
fix: hide audio recorder only on team
Browse files Browse the repository at this point in the history
  • Loading branch information
okradze committed Nov 30, 2023
1 parent 80ef2b7 commit 06fc448
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/ui/src/modals/AIChatModal/components/ChatV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,12 @@ const ChatV2 = () => {
<UploadButton onChange={handleUploadFile} isLoading={fileLoading} />
)} */}

{/* <AudioRecorder
setVoicePreview={setVoicePreview}
setStartedRecording={setStartedRecording}
/> */}
{!teamId && (
<AudioRecorder
setVoicePreview={setVoicePreview}
setStartedRecording={setStartedRecording}
/>
)}

{voicePreview && (
<AudioPlayer
Expand Down

0 comments on commit 06fc448

Please sign in to comment.