Details
Details
Set breakpoint in accountCreationResponder:
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/account/register-panel.react.js | ||
---|---|---|
333 ↗ | (On Diff #22487) | Nit – I would destructure this and assign to a local to avoid repeating this.props. |
484 ↗ | (On Diff #22487) | Hmm... looks like this will add a spinner to the button, which is weird since it sort of implies that the request has been sent. It also blocks the TextInput, which isn't really necessary... I think we would just want to disable the button (Probably not a big deal since commCoreModule.getUserPublicKey should presumably be quite fast) |
native/account/register-panel.react.js | ||
---|---|---|
484 ↗ | (On Diff #22487) | Ah, I remember intending to add a disabled prop to PanelButton... I'll update this diff in place. Will also sneak in corresponding change to LoginPanel. |
Comment Actions
disable button instead of setting loadingStatus to loading if primaryIdentityPublicKey is null or undefined