Skip to content

Commit

Permalink
fixed catch statement when signing up
Browse files Browse the repository at this point in the history
  • Loading branch information
manikandanraji committed Aug 10, 2020
1 parent dc11f55 commit 2b0f730
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ export const authenticate = async (endpoint, data) => {

return user;
} catch (err) {
toast.dismiss();
toast.error(err.response.data.message);
console.log(err.response);
}
};

Expand Down

0 comments on commit 2b0f730

Please sign in to comment.