From 28405ee77873d871ae931dd8272a3fd3378f4a47 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens 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 = ( values.identifier ); }} - validateOnChange={false} > {(formik): JSX.Element => (
@@ -127,7 +126,7 @@ const LinkCreatedTile: React.FC = (props) => { onClick={(): void => props.setLink('')} >
New link
- + Go back to matrix.to home page

{props.link}