-
Notifications
You must be signed in to change notification settings - Fork 203
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: keep networks state in query params #1307
feat: keep networks state in query params #1307
Conversation
Co-authored-by: spsjvc <[email protected]>
Co-authored-by: spsjvc <[email protected]>
…onship-to-our-codebase
…onship-to-our-codebase
…onship-to-our-codebase
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…enetworks-and-usenetworksrelationship
packages/arb-token-bridge-ui/src/components/TransferPanel/TransferPanelMain.tsx
Outdated
Show resolved
Hide resolved
@@ -669,6 +642,12 @@ export function TransferPanelMain({ | |||
const maxAmount = nativeCurrencyBalanceFloat - estimatedTotalGasFees * 1.4 | |||
// make sure it's always a positive number | |||
// if it's negative, set it to user's balance to show insufficient for gas error | |||
console.log( |
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.
nit: remove console.log
}) | ||
if (!didUpdateUrlWithSanitizedValues) { | ||
// On the first render, update query params with the sanitized values | ||
console.log('initial set query params in useNetworks') |
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.
nit: console.log
…sferPanelMain.tsx Co-authored-by: spsjvc <[email protected]>
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.
L F G
Summary
See #1295
Steps to test