Skip to content

Commit 1175af1

Browse files
committed
fix: missing condition for lengthy strings
1 parent 70dc1b7 commit 1175af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/JsonView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const JsonNode = memo(
227227
)}
228228
<pre
229229
className={clsx(
230-
typeStyleMap.string,
230+
isError ? typeStyleMap.error : typeStyleMap.string,
231231
"break-all whitespace-pre-wrap",
232232
)}
233233
>

0 commit comments

Comments
 (0)