Updating reload code.

This commit is contained in:
David Jay
2017-02-03 10:27:17 -08:00
parent d5abe78a3d
commit 2dacb72341
@@ -24,7 +24,7 @@ class SuspendedAccount extends Component {
e.preventDefault();
if (validate.displayName(displayName)) {
editName(displayName)
.then(() => window.reload())
.then(() => location.reload())
.catch((error) => {
this.setState({alert: lang.t(`error.${error.message}`)});
});