Use faucet to fund laconic accounts while sending a transaction #2
@ -53,7 +53,8 @@ const SignWithCosmos = () => {
|
|||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!response.ok) {
|
if (response.status === 429) {
|
||||||
|
enqueueSnackbar(response.statusText, { variant: "error" });
|
||||||
throw new Error('Failed to send request');
|
throw new Error('Failed to send request');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user