aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 4e2a0b7..a06ec62 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -65,7 +65,7 @@ const App: React.FC = () => {
localStorage.setItem('token', token);
navigate('profile', me._id);
return true;
- }).catch(error => false);
+ }).catch(() => false);
};
const logOut = () => {