From 16aadfa6647aee150c91feb1b4cba8936f9cd5db Mon Sep 17 00:00:00 2001 From: "MD. Ariful Alam" Date: Thu, 14 Oct 2021 23:08:35 +0600 Subject: [PATCH] Change status code for too many requests --- src/App.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 3e0842d..8c79a2b 100644 --- a/src/App.js +++ b/src/App.js @@ -90,7 +90,7 @@ function App() { }); if (error.response.status === 403) { - setError(403); + setError(429); } else if (error.response.status === 404) { setError(404); } else { @@ -111,7 +111,7 @@ function App() { src\config.js

) : ( - error === 403 ? ( + error === 429 ? (

Oh no, you hit the{' '}