Removed useless loging

This commit is contained in:
2020-04-29 02:58:07 +03:00
parent 9ff4779720
commit 75344822ed
4 changed files with 13 additions and 23 deletions
+1 -5
View File
@@ -27,17 +27,13 @@ class User extends React.Component<Props, State> {
const params = this.props.match.params;
fetchUser(parseInt(params.userId)).then((user: UserType) => {
console.log(user)
this.setState({ user });
document.title = `${user.username} / Unmei`;
fetchUserNovels(parseInt(params.userId)).then((novels: NovelType[]) => {
this.setState({ novels });
}).catch((err: ApiError) => console.error(err));
}).catch((err: ApiError) => {
this.setState({ errorCode: err.code })
console.log(err)
});
}).catch((err: ApiError) => this.setState({ errorCode: err.code }));
}
sendActivateLink = () => {