Show atom-reactions only if the socket is actually present in the atom
@@ -52,6 +52,7 @@ export default function WonAtomInfo({
const reactionElements = [];
reactions &&
reactions.map((senderSocketReactions, targetSocketType) => {
+ atomUtils.hasSocket(atom, targetSocketType) &&
reactionElements.push(
<WonSocketAddButton
senderReactions={senderSocketReactions}
