We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b3394 commit e58dfb4Copy full SHA for e58dfb4
src/sections/General/Navigation/index.js
@@ -203,11 +203,11 @@ const Navigation = () => {
203
const data = response.data;
204
setUserData(data);
205
} catch (error) {
206
- if(error?.response?.status === 401) {
+ if (error?.response?.status === 401) {
207
// unauthorized token
208
} else {
209
- // only for debugging purposes, no need to log
210
- // console.error("There was a problem with your fetch operation:", error);
+ // only for debugging purposes, no need to log
+ // console.error("There was a problem with your fetch operation:", error);
211
}
212
213
};
0 commit comments