diff --git a/src/App.jsx b/src/App.jsx index b3f912c..75ae8ab 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -20,6 +20,8 @@ function App() { else{ dispatch(logout()) } + }).catch((err)=>{ + console.log(`Error while getting login user`${err}); }) .finally(() =>{ setLoading(false) @@ -36,8 +38,10 @@ function App() { - : - null + :