Compare commits

...

1 Commits

Author SHA1 Message Date
96bcdffdca added optional chain for n=menu 2025-12-05 18:45:19 +05:30

View File

@ -25,9 +25,7 @@ const Sidebar = () => {
/>
</span> */}
<small
className="app-brand-link fw-bold navbar-brand text-green fs-6"
>
<small className="app-brand-link fw-bold navbar-brand text-green fs-6">
<span className="app-brand-logo demo">
<img src="/img/brand/marco.png" width="50" />
</span>
@ -37,8 +35,7 @@ const Sidebar = () => {
</small>
</Link>
<small className="layout-menu-toggle menu-link text-large ms-auto">
<small className="layout-menu-toggle menu-link text-large ms-auto">
<i className="bx bx-chevron-left bx-sm d-flex align-items-center justify-content-center"></i>
</small>
</div>
@ -61,7 +58,7 @@ const Sidebar = () => {
</>
)}
{data &&
data?.data.map((section) => (
data?.data?.map((section) => (
<React.Fragment
key={section.id || section.header || section.items[0]?.id}
>