Skip to content

Commit e58dfb4

Browse files
author
Vivek Vishal
authored
fix eslint checks
Signed-off-by: Vivek Vishal <[email protected]>
1 parent f2b3394 commit e58dfb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sections/General/Navigation/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ const Navigation = () => {
203203
const data = response.data;
204204
setUserData(data);
205205
} catch (error) {
206-
if(error?.response?.status === 401) {
206+
if (error?.response?.status === 401) {
207207
// unauthorized token
208208
} else {
209-
// only for debugging purposes, no need to log
210-
// console.error("There was a problem with your fetch operation:", error);
209+
// only for debugging purposes, no need to log
210+
// console.error("There was a problem with your fetch operation:", error);
211211
}
212212
}
213213
};

0 commit comments

Comments
 (0)