From 28405ee77873d871ae931dd8272a3fd3378f4a47 Mon Sep 17 00:00:00 2001
From: Jorik Schellekens <joriksch@gmail.com>
Date: Mon, 21 Sep 2020 18:10:02 +0100
Subject: [PATCH] Fix enter to submit behaviour

---
 src/components/CreateLinkTile.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/components/CreateLinkTile.tsx b/src/components/CreateLinkTile.tsx
index 12ffd54..deef074 100644
--- a/src/components/CreateLinkTile.tsx
+++ b/src/components/CreateLinkTile.tsx
@@ -78,7 +78,6 @@ const LinkNotCreatedTile: React.FC<ILinkNotCreatedTileProps> = (
                             values.identifier
                     );
                 }}
-                validateOnChange={false}
             >
                 {(formik): JSX.Element => (
                     <Form>
@@ -127,7 +126,7 @@ const LinkCreatedTile: React.FC<ILinkCreatedTileProps> = (props) => {
                 onClick={(): void => props.setLink('')}
             >
                 <div>New link</div>
-                <img src={refreshIcon} />
+                <img src={refreshIcon} alt="Go back to matrix.to home page" />
             </button>
             <a href={props.link}>
                 <h1>{props.link}</h1>
-- 
GitLab