Commit 04a394f5 authored by Antoine's avatar Antoine
Browse files

[client] Wrap Element[] in a fragment to make it shaped as an Element.

parent 9ab259fc
Pipeline #370524 passed with stage
in 4 minutes and 6 seconds
......@@ -95,7 +95,10 @@ const UserActionForm = connect(null, (dispatch, props: UserActionFormNativeProps
</p>
</DisplayIf>
{fieldForms}
{/* Typescript does not accept inclusion of Element[] in the component tree,
see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20356 .
Wrap Element[] in a fragment to make it an Element.*/}
<>{fieldForms}</>
<input
type="submit"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment