chore: Upgrade Prettier 1.8 -> 2.0 (#1436)
This commit is contained in:
@ -53,7 +53,7 @@ class NewTemplateMenu extends React.Component<Props> {
|
||||
{...rest}
|
||||
>
|
||||
<Header>Choose a collection</Header>
|
||||
{collections.orderedData.map(collection => {
|
||||
{collections.orderedData.map((collection) => {
|
||||
const can = policies.abilities(collection.id);
|
||||
|
||||
return (
|
||||
@ -62,7 +62,8 @@ class NewTemplateMenu extends React.Component<Props> {
|
||||
onClick={() => this.handleNewDocument(collection.id)}
|
||||
disabled={!can.update}
|
||||
>
|
||||
<CollectionIcon collection={collection} /> {collection.name}
|
||||
<CollectionIcon collection={collection} />
|
||||
{collection.name}
|
||||
</DropdownMenuItem>
|
||||
);
|
||||
})}
|
||||
|
Reference in New Issue
Block a user