Rmove continue button, fix bug with facebook signup.

This commit is contained in:
gaba
2017-02-23 09:48:59 -08:00
parent 32bc754bf7
commit 5d0ea6a880
5 changed files with 14 additions and 24 deletions
@@ -50,7 +50,6 @@ const CreateUsernameDialog = ({open, handleClose, offset, formData, handleSubmit
/>
<Button id="save" type="submit" className={styles.saveButton}>{lang.t('createdisplay.save')}</Button>
</div>
<Button className={styles.continuebutton} onClick={handleClose}>{lang.t('createdisplay.continue')}</Button>
</form>
</div>
</div>
@@ -173,13 +173,6 @@ input.error{
color: white;
}
.continuebutton {
background-color: black;
font-weight: bold;
color: white;
min-width: 200px;
}
.fakeComment {
display: block;
margin-bottom: 5px;
@@ -104,7 +104,7 @@ class ChangeUsernameContainer extends Component {
return (
<div>
<CreateUsernameDialog
open={auth.showCreateUsernameDialog && auth.fromSignUp}
open={auth.showCreateUsernameDialog && auth.user.canEditName}
offset={offset}
handleClose={this.handleClose}
loggedIn={loggedIn}