only render code details if has that prop

This commit is contained in:
srgooglo 2022-05-30 22:08:15 +02:00
parent a13a0a50cf
commit 0e402fad56

View File

@ -16,9 +16,10 @@ export const CrashComponent = (props) => {
</Button>
]}
>
{crash.details &&
<div>
<code>{crash.details}</code>
</div>
</div>}
</Result>
}