const accountId = props.accountId ?? context.accountId; const objectId = props.objectId; let blockHeight = props.blockHeight ? parseInt(props.blockHeight) : undefined; const profile = Social.getr(`${accountId}/profile`); const comment = props.comment ?? Social.getr(`${accountId}/comment/entry/${objectId}`, blockHeight); console.log(comment); if (!objectId) { return "Can only display comment for specific object"; } return <div>{comment.content}</div>;