if ( !props.accountId || !context.accountId || context.accountId === props.accountId ) { return ""; } const data = { index: { graph: JSON.stringify({ key: "poke", value: { accountId: props.accountId, }, }), notify: JSON.stringify({ key: props.accountId, value: { type: "poke", }, }), }, }; return ( <CommitButton disabled={loading} className={`btn btn-lg btn-dark`} data={data} > <Widget src="mob.near/widget/ProfileImage" props={{ accountId: props.accountId, style: { width: "2rem", height: "2rem" }, imageClassName: "rounded w-100 h-100 align-bottom", }} /> <span role="img" aria-label="poke"> 👈 </span>{" "} {props.back ? "Poke back" : "Poke"} </CommitButton> );