fix(homepage): boxes sections.

This commit is contained in:
a.bouhuolia
2021-03-08 19:18:59 +02:00
parent ba68a63400
commit 8f95b09649
2 changed files with 2 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ import 'style/pages/HomePage/HomePage.scss';
function HomepageContent() {
return (
<div>
<div className="financial-reports">
<AccountsReceivableSection />
<AccountsPayableSection />
<FinancialAccountingSection />

View File

@@ -21,19 +21,11 @@ function ShortcutBoxes({ sectionTitle, shortcuts }) {
<div className="section-title">{sectionTitle}</div>
<div className="financial-reports__list">
<For render={ShortcutBox} of={shortcuts} />
{/* {shortcuts.map(({ title, link, description }) => (
<ShortcutBox title={title} description={description} link={link} />
))} */}
</div>
</div>
);
}
export default function ShortcutBoxesSection({ section }) {
return (
<div className="financial-reports">
<For render={ShortcutBoxes} of={section} />
</div>
);
return <For render={ShortcutBoxes} of={section} />;
}