Fix coding style

This commit is contained in:
dklimpel 2020-03-29 20:43:49 +02:00
parent b3f937b566
commit df8173b3b2

View File

@ -74,12 +74,15 @@ export const UserCreate = props => (
<SimpleForm>
<TextInput source="id" autoComplete="off" validate={validateUser} />
<TextInput source="displayname" />
<ArrayInput source="threepids">
<ArrayInput source="threepids">
<SimpleFormIterator>
<SelectInput source="medium" choices={[
{ id: 'email', name: 'resources.users.email' },
{ id: 'msisdn', name: 'resources.users.msisdn' },
]} />
<SelectInput
source="medium"
choices={[
{ id: "email", name: "resources.users.email" },
{ id: "msisdn", name: "resources.users.msisdn" },
]}
/>
<TextInput source="address" />
</SimpleFormIterator>
</ArrayInput>
@ -97,10 +100,13 @@ export const UserEdit = props => (
<TextInput source="displayname" />
<ArrayInput source="threepids">
<SimpleFormIterator>
<SelectInput source="medium" choices={[
{ id: 'email', name: 'resources.users.email' },
{ id: 'msisdn', name: 'resources.users.msisdn' },
]} />
<SelectInput
source="medium"
choices={[
{ id: "email", name: "resources.users.email" },
{ id: "msisdn", name: "resources.users.msisdn" },
]}
/>
<TextInput source="address" />
</SimpleFormIterator>
</ArrayInput>