Skip to content

Commit

Permalink
Fix error handling in telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackIQ committed Jul 27, 2022
1 parent 933792b commit f6415de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/auth.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ const AuthPage = () => {
setTelegramToken('');
})
.catch((error) => {
console.log(error);
// createSnack(error.response.data.message, 'error');
createSnack(error.response.data.message, 'error');

setTelegramLoading(false);
setTelegramToken('');
});
Expand Down

0 comments on commit f6415de

Please sign in to comment.