App layout prop update

This commit is contained in:
tmshv committed 2019-10-17 14:50:09 +03:00
1 parent 228e7824de
commit 3902815113
11 files changed
+89 -100

No files matched your search

+8 -9
View File
@@ -106,21 +106,20 @@ const Page: NextPage<IProps> = props => (
menu={buildMenu(props.pageUrl, menuModel)}
showAuthor={true}
menuPadding={true}
layout={'thin'}
>
<Head>
<title>{props.title}</title>
<Meta meta={props.meta} />
</Head>
<div className="content content_thin">
{props.collections.map((collection, index) => (
<DocumentList
key={index}
name={collection.name}
documents={collection.items}
/>
))}
</div>
{props.collections.map((collection, index) => (
<DocumentList
key={index}
name={collection.name}
documents={collection.items}
/>
))}
</App>
)