aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-15 17:59:13 +0300
committereug-vs <eug-vs@keemail.me>2020-06-15 17:59:13 +0300
commitdd297844bd602625804e0ddb0706e737ab655334 (patch)
tree18d27607f93a731d54d7a5fb8a3a681ddbf1673b
parentd5643baf50a3e8a99d545e3e08a06872a3cfb4cc (diff)
downloadwhich-ui-dd297844bd602625804e0ddb0706e737ab655334.tar.gz
fix: remove unused var
-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 = () => {