-
Notifications
You must be signed in to change notification settings - Fork 273
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
refactor: remove swap findChildren #2077
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
26aa974
to
e9360fd
Compare
e9360fd
to
ee37dc9
Compare
ee37dc9
to
c4c27e3
Compare
c4c27e3
to
fce4b4c
Compare
fce4b4c
to
875db96
Compare
875db96
to
4d6f156
Compare
eb1bdff
to
d63a75d
Compare
d63a75d
to
1896058
Compare
1896058
to
6b7557f
Compare
maxSlippage: defaultMaxSlippage || FALLBACK_DEFAULT_MAX_SLIPPAGE, | ||
}} | ||
isSponsored={isSponsored} | ||
headerLeftContent={<div>test</div>} |
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.
test
intended?
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.
yea, I will be removing these playground updates prior to merging, but wanted to make it easy to test the different permutations.
token={ethToken} | ||
type="from" | ||
<div className="relative flex flex-col gap-6"> | ||
<h2>Swap Default</h2> |
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.
What changed? Why?
Update Swap and SwapSettings components to have default children. Added toToken, fromToken, swappableTokens as top level props when children is undefined. Interface is unchanged when children are passed in.
Notes to reviewers
How has it been tested?