Show username already exists error

This commit is contained in:
Chi Vinh Le
2018-05-14 20:44:30 +02:00
parent f846ef0c06
commit 5a190839d1
@@ -59,6 +59,7 @@ const withSetUsername = hoistStatics(WrappedComponent => {
}
const changeSet = { success: false, loading: false, error };
this.setState(changeSet);
throw error;
}
};