From d24ab8f9cfaa94be5f3aa15f32fc44e5502811aa Mon Sep 17 00:00:00 2001
From: shafin-r
Date: Thu, 12 Mar 2026 18:00:57 +0600
Subject: [PATCH] fix(test): fix context image url path
---
src/pages/student/practice/Test.tsx | 57 ++++++++++++++---------------
1 file changed, 27 insertions(+), 30 deletions(-)
diff --git a/src/pages/student/practice/Test.tsx b/src/pages/student/practice/Test.tsx
index e7520c1..42fa009 100644
--- a/src/pages/student/practice/Test.tsx
+++ b/src/pages/student/practice/Test.tsx
@@ -1703,16 +1703,15 @@ export const Test = () => {
)}
- {currentQuestion?.context_image_url &&
- currentQuestion.context_image_url !== "NULL" && (
-
-

-
- )}
+ {currentQuestion?.context_image_url && (
+
+

+
+ )}
{currentQuestion?.text &&
@@ -1755,26 +1754,24 @@ export const Test = () => {
) : (
<>
- {currentQuestion?.context_image_url &&
- currentQuestion.context_image_url !== "NULL" && (
-
-

-
- )}
- {currentQuestion?.context &&
- currentQuestion.context !== "NULL" && (
-
-
-
- )}
+ {currentQuestion?.context_image_url && (
+
+

+
+ )}
+ {currentQuestion?.context && (
+
+
+
+ )}
>
)}
--
2.49.0