diff --git a/utils/API_Calls/stats_api.tsx b/utils/API_Calls/stats_api.tsx index 4f9880b..2b1d26b 100644 --- a/utils/API_Calls/stats_api.tsx +++ b/utils/API_Calls/stats_api.tsx @@ -11,6 +11,7 @@ export const getStats = async () => { } const resJson = await res.json(); return resJson; + } catch (err) { console.log(err); throw new Error('Error in Fetching Stats');