diff --git a/src/pages/SignWithCosmos.tsx b/src/pages/SignWithCosmos.tsx index cc45f35..8d18027 100644 --- a/src/pages/SignWithCosmos.tsx +++ b/src/pages/SignWithCosmos.tsx @@ -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'); }