mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Improve vesting discovery and error messages
When loading a ETH address as vesting contract we show a cryptic error message, which non tech-savy end users don't understand, this commit changes it to something more human readable. We allow users to enter and load a contract that probably isn't a vesting contract. The `getInfo` function in the `vesting` folder is very prone to possible errors, and benefits from some parallelization between all the method calls. We allow hereby to enter a contract address in search and once on the contract profile page we provide a link to the detailed vesting information if available. Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@
|
||||
session={$session}
|
||||
activeRoute={$activeRouteStore} />
|
||||
{:else if $activeRouteStore.resource === "vesting"}
|
||||
<Vesting {wallet} session={$session} activeRoute={$activeRouteStore} />
|
||||
<Vesting {wallet} activeRoute={$activeRouteStore} />
|
||||
{:else if $activeRouteStore.resource === "projects"}
|
||||
<Projects {wallet} activeRoute={$activeRouteStore} />
|
||||
{:else if $activeRouteStore.resource === "profile"}
|
||||
|
||||
Reference in New Issue
Block a user