feat: fix null pointer handling in log modals

This commit is contained in:
ramvignesh-b
2026-04-16 04:29:36 +05:30
parent cc8e3e4e4e
commit 9491559d7d
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ export default function Reader() {
<LogModal
isOpen={!!warning}
onClose={() => setWarning(null)}
message={warning?.message}
log={warning?.log}
message={warning?.message || ""}
log={warning?.log || ""}
status="WARN"
/>