Skip to content

Commit

Permalink
fix(componentes): token input deps (#102)
Browse files Browse the repository at this point in the history
* fix(componentes): token input deps

* Create cyan-otters-dream.md
  • Loading branch information
danielsimao authored May 27, 2024
1 parent 4dbde80 commit 34bc94f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cyan-otters-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@interlay/ui": patch
---

fix(componentes): token input deps
2 changes: 1 addition & 1 deletion packages/components/src/TokenInput/TokenInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const TokenInput = forwardRef<HTMLInputElement, TokenInputProps>((props, ref): J
);
}
},
props.type === 'selectable' ? [props.items] : []
props.type === 'selectable' ? [props.items, props.selectProps?.value] : []
);

useEffect(() => {
Expand Down

0 comments on commit 34bc94f

Please sign in to comment.