From be3ee2017696ff4eea19f2630d110ffe1fa09629 Mon Sep 17 00:00:00 2001
From: Celestin Niyindagiriye
Date: Thu, 25 Apr 2024 18:27:20 +0200
Subject: [PATCH] fix show audio
---
.../shared/voice-annotator/QuestionAnswer.tsx | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/components/shared/voice-annotator/QuestionAnswer.tsx b/src/components/shared/voice-annotator/QuestionAnswer.tsx
index 4d86984..506d181 100644
--- a/src/components/shared/voice-annotator/QuestionAnswer.tsx
+++ b/src/components/shared/voice-annotator/QuestionAnswer.tsx
@@ -20,17 +20,13 @@ const QuestionAnswer = ({
{type}
- {type === 'Question' && (
+ {type === 'Question' && audio && (
- {audio ? (
-
- ) : (
-
No audio question
- )}
+
Translation