You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a seamless user experience, coming to https://across.to/ from other apps, most of the form data should be prefilled from the URL itself. https://across.to/?from=${from}&to=${to}&asset=${tokenSymbol}&amount=${amount}
In the code: frontend-v2/blob/master/src/hooks/uses Adform.tsx, we are extracting params.asset and params.amount from the URL using useQueryParams. However, these values are not being set automatically in the form during any point in the render cycle.
The text was updated successfully, but these errors were encountered:
Hi, @dewanshparashar! I believe the reproducible issue you're facing is a result of an invalid link. The to and from fields require a valid numeric chainId.
To produce the intended UI state, you can use this link:
Objective
For a seamless user experience, coming to https://across.to/ from other apps, most of the form data should be prefilled from the URL itself.
https://across.to/?from=${from}&to=${to}&asset=${tokenSymbol}&amount=${amount}
Reproduce
URL: https://across.to/?from=ethereum&to=arbitrum&asset=eth&amount=100
Most of the values in the URL still render an empty form - making the user fill all the info again.
Code
In the code:
frontend-v2/blob/master/src/hooks/uses Adform.tsx
, we are extractingparams.asset
andparams.amount
from the URL usinguseQueryParams
. However, these values are not being set automatically in the form during any point in the render cycle.The text was updated successfully, but these errors were encountered: