Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinceBaghel258025 committed Sep 23, 2024
1 parent a69bd89 commit c316649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/components/VadAudio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,7 @@ export default function VadAudio({
/>
)}
</Button>
{!isHome ? (
isListening ? (
<span>{duration}</span>
) : null
) : (
<span>{duration}</span>
)}
{isListening ? <span>{duration}</span> : null}
</div>
);
}
2 changes: 1 addition & 1 deletion src/components/inputBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ const InputBar = (props: InputBarProps) => {
// trigger a call to the backend to transcribe the audio
handleAudioChunk(file);
}}
isHome={props.isHome}
isHome={false}
/>
</motion.div>
<motion.div
Expand Down

0 comments on commit c316649

Please sign in to comment.