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() { function HomepageContent() {
return ( return (
<div> <div className="financial-reports">
<AccountsReceivableSection /> <AccountsReceivableSection />
<AccountsPayableSection /> <AccountsPayableSection />
<FinancialAccountingSection /> <FinancialAccountingSection />

View File

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