Fixed a minor bug

This commit is contained in:
2019-05-17 16:41:18 +10:00
parent b2b0f628bd
commit 003bd0ff54
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -121,9 +121,6 @@ class Profile extends React.Component {
else if (xhr.status === 400) {
this.setWarning(xhr.responseText);
}
else if (xhr.status === 404) {
this.props.history.push('/404');
}
}
}