-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add copy addresses and contract links to market page #3669
feat: add copy addresses and contract links to market page #3669
Conversation
🦋 Changeset detectedLatest commit: 0c8359c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
69b1f65
to
8830a78
Compare
8830a78
to
d5e8407
Compare
d5e8407
to
a87cf54
Compare
a87cf54
to
5a6e028
Compare
5a6e028
to
5b90fd4
Compare
// [venusProtocolBscTestnetDeployments.addresses.vAAVE.toLowerCase()]: vAaveCoreLogo, | ||
// [venusProtocolBscTestnetDeployments.addresses.vADA.toLowerCase()]: vAdaCoreLogo, | ||
// [venusProtocolBscTestnetDeployments.addresses.vBCH.toLowerCase()]: vBchCoreLogo, | ||
// [venusProtocolBscTestnetDeployments.addresses.vBETH.toLowerCase()]: vBethCoreLogo, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to keep these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The testnet deployment has many VTokens missing, but I reported this and it's getting added here VenusProtocol/venus-protocol#544
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, thanks for getting this updated.
apps/evm/src/containers/Layout/Header/MarketInfo/AddTokenToWalletDropdown/index.tsx
Outdated
Show resolved
Hide resolved
{ | ||
className, | ||
children, | ||
buttonClassName, | ||
options, | ||
value, | ||
onChange, | ||
onBlur, | ||
label, | ||
placeLabelToLeft = false, | ||
size = 'medium', | ||
variant = 'primary', | ||
menuTitle, | ||
menuPosition = 'left', | ||
...otherProps | ||
}: DropdownProps<TValue>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you missed this comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
960920d
to
530955c
Compare
530955c
to
84c2cb6
Compare
@@ -0,0 +1,23 @@ | |||
import type { CardProps } from 'components/Card'; | |||
|
|||
export interface DropdownProps extends Omit<CardProps, 'onChange' | 'children'> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the CardProps
type can be removed here. Otherwise the Dropdown
component takes an asChild
prop that has no effect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this component is only shared by the AddTokenToWalletDropdown
and GoToTokenContractDropdown
components, it should be contained in their parent directory.
84c2cb6
to
0c8359c
Compare
Jira ticket(s)
VEN-2938
Changes
img/underlyingTokens
andimg/vTokens
Dropdown
component from theSelect
component, allowing it to be used in the new copy/add to wallet and contract link options