fix(AddAppConnection): don't render empty error details

This commit is contained in:
Ali BARIN
2022-12-15 00:48:21 +01:00
parent 7175d92eaf
commit bf1076b7d2

View File

@@ -116,7 +116,7 @@ export default function AddAppConnection(
sx={{ mt: 1, fontWeight: 500, wordBreak: 'break-all' }} sx={{ mt: 1, fontWeight: 500, wordBreak: 'break-all' }}
> >
{error.message} {error.message}
<pre>{JSON.stringify(error.details, null, 2)}</pre> {error.details && <pre>{JSON.stringify(error.details, null, 2)}</pre>}
</Alert> </Alert>
)} )}