diff --git a/.changeset/cyan-otters-dream.md b/.changeset/cyan-otters-dream.md new file mode 100644 index 000000000..620d22de7 --- /dev/null +++ b/.changeset/cyan-otters-dream.md @@ -0,0 +1,5 @@ +--- +"@interlay/ui": patch +--- + +fix(componentes): token input deps diff --git a/packages/components/src/TokenInput/TokenInput.tsx b/packages/components/src/TokenInput/TokenInput.tsx index 288b3cb46..316acf348 100644 --- a/packages/components/src/TokenInput/TokenInput.tsx +++ b/packages/components/src/TokenInput/TokenInput.tsx @@ -53,7 +53,7 @@ const TokenInput = forwardRef((props, ref): J ); } }, - props.type === 'selectable' ? [props.items] : [] + props.type === 'selectable' ? [props.items, props.selectProps?.value] : [] ); useEffect(() => {