diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 6291f08..fe8c0df 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -150,7 +150,7 @@ function Sidebar({ active, setActive, user, onLogout, updateInfo, onUpdateClick }}> {sub && } - {item.Icon ? : {item.icon}} + {item.Icon ? (() => { const I = item.Icon; return ; })() : {item.icon}} {item.label} @@ -226,13 +226,18 @@ function BottomNav({ active, setActive, user, onLogout, updateInfo, onUpdateClic const [appsOpen, setAppsOpen] = useState(false); const NAV_H = 56; - const MI = ({icon, label, onClick, color='#fff'}) => ( - - ); + const MI = ({Icon, icon, label, onClick, color='rgba(255,255,255,0.85)'}) => { + const Ic = Icon; + return ( + + ); + }; const Sheet = ({open, onClose, children}) => !open ? null : (
)} - + {(() => { const I = item.Icon; return I ? : null; })()} {item.label} {isActive && !isApps && !isMehr && (