This PR improves the UX for the “Submit website Address” input form by allowing the form to be submitted by pressing the enter key.
Implementation notes:
Removed the onUrlSubmit() off of the <Button onClick={ onUrlSubmit }> event and instead assigned it to the <Form onSubmit={ onUrlSubmit }> event. This captures the Form tags natural ability to submit the form using the Enter key, if you want.
Also made the submit button text dynamic. When submitting, button text is, “Saving…”, otherwise button text is, “Continue”.