commit
2857e65ccd
2 changed files with 3 additions and 5 deletions
|
@ -938,10 +938,6 @@ export function ModalButtons({
|
||||||
style
|
style
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
{/* Add a dummy button first so that when a user
|
|
||||||
presses "enter" they do a normal submit, instead of
|
|
||||||
activating the back button */}
|
|
||||||
<Button data-hidden={true} style={{ display: 'none' }} />
|
|
||||||
{leftContent}
|
{leftContent}
|
||||||
<View style={{ flex: 1 }} />
|
<View style={{ flex: 1 }} />
|
||||||
{children}
|
{children}
|
||||||
|
|
|
@ -146,7 +146,9 @@ function CreateLocalAccount({ modalProps, actions, history }) {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<ModalButtons>
|
<ModalButtons>
|
||||||
<Button onClick={() => modalProps.onBack()}>Back</Button>
|
<Button onClick={() => modalProps.onBack()} type="button">
|
||||||
|
Back
|
||||||
|
</Button>
|
||||||
<Button primary style={{ marginLeft: 10 }}>
|
<Button primary style={{ marginLeft: 10 }}>
|
||||||
Create
|
Create
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in a new issue