Skip to content

Commit

Permalink
fix(TokenInput): adorment ticker (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsimao authored Jun 2, 2023
1 parent 74eb7ee commit 869efa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component-library/TokenInput/TokenInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const TokenInput = forwardRef<HTMLInputElement, TokenInputProps>(

const itemsArr = Array.from(selectProps?.items || []);
const isSelectAdornment = itemsArr.length > 1;
const adornmentTicker = !isSelectAdornment && selectProps?.items ? itemsArr[0]?.value : ticker;
const adornmentTicker = !isSelectAdornment && selectProps?.items ? itemsArr[0]?.value : tickerProp;

useEffect(() => {
if (selectProps?.value === undefined) return;
Expand Down

2 comments on commit 869efa9

@vercel
Copy link

@vercel vercel bot commented on 869efa9 Jun 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 869efa9 Jun 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.