if (!props.update) return ""; const update = props.newThing ?? Social.get(`${props.update}`); if (update === null) return "Loading..."; if (!props.src) return ""; const src = props.src ?? Social.get(`${props.src}`); if (src === null) return "Loading..."; return ( <Widget src="bozon.near/widget/CodeDiff" props={{ currentCode: newCode, prevCode: src, ...props }} /> );