Skip to content

Commit

Permalink
fix contrasting from array node
Browse files Browse the repository at this point in the history
  • Loading branch information
mck committed Nov 24, 2023
1 parent 23cc354 commit ff9ab59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-bulldogs-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tokens-studio/graph-editor": patch
---

Fix contrasting from array nodes output
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ const ContrastingFromSetNode = () => {
</Handle>
<Handle id="index">
<HandleText>Index</HandleText>
<Text>{output.index}</Text>
<Text>{output?.index}</Text>
</Handle>
<Handle id="sufficient">
<Text>Sufficient</Text>
<PreviewBoolean value={output.sufficient} />
<PreviewBoolean value={output?.sufficient} />
</Handle>
</HandleContainer>
</Stack>
Expand Down

0 comments on commit ff9ab59

Please sign in to comment.