function JsonDisplay({obj}) {
if (!obj)
return No additional attributes found.;
let empty = true;
for (const prop in obj) {
if (Object.hasOwn(obj, prop) && obj[prop] !== undefined) empty = false;
}
if (empty)
return No additional attributes found.;
return ;
}
export default JsonDisplay;