Fix enter to submit behaviour
This commit is contained in:
parent
122bb55535
commit
28405ee778
1 changed files with 1 additions and 2 deletions
|
@ -78,7 +78,6 @@ const LinkNotCreatedTile: React.FC<ILinkNotCreatedTileProps> = (
|
||||||
values.identifier
|
values.identifier
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
validateOnChange={false}
|
|
||||||
>
|
>
|
||||||
{(formik): JSX.Element => (
|
{(formik): JSX.Element => (
|
||||||
<Form>
|
<Form>
|
||||||
|
@ -127,7 +126,7 @@ const LinkCreatedTile: React.FC<ILinkCreatedTileProps> = (props) => {
|
||||||
onClick={(): void => props.setLink('')}
|
onClick={(): void => props.setLink('')}
|
||||||
>
|
>
|
||||||
<div>New link</div>
|
<div>New link</div>
|
||||||
<img src={refreshIcon} />
|
<img src={refreshIcon} alt="Go back to matrix.to home page" />
|
||||||
</button>
|
</button>
|
||||||
<a href={props.link}>
|
<a href={props.link}>
|
||||||
<h1>{props.link}</h1>
|
<h1>{props.link}</h1>
|
||||||
|
|
Loading…
Reference in a new issue