mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix(homepage): boxes sections.
This commit is contained in:
@@ -7,7 +7,7 @@ import 'style/pages/HomePage/HomePage.scss';
|
||||
|
||||
function HomepageContent() {
|
||||
return (
|
||||
<div>
|
||||
<div className="financial-reports">
|
||||
<AccountsReceivableSection />
|
||||
<AccountsPayableSection />
|
||||
<FinancialAccountingSection />
|
||||
|
||||
@@ -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} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user