mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-11 01:10:11 +01:00
add fallback footer icon
This commit is contained in:
parent
c2d37ccce5
commit
323e37e684
@ -108,10 +108,13 @@ export default function Footer() {
|
|||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
className="transition-all duration-300 p-2 rounded-full text-white bg-sidebar-button hover:bg-menu-item-selected-gradient hover:border-slate-100 hover:border-opacity-50 border-transparent border"
|
className="transition-all duration-300 p-2 rounded-full text-white bg-sidebar-button hover:bg-menu-item-selected-gradient hover:border-slate-100 hover:border-opacity-50 border-transparent border"
|
||||||
>
|
>
|
||||||
{React.createElement(ICON_COMPONENTS[item.icon], {
|
{React.createElement(
|
||||||
|
ICON_COMPONENTS?.[item.icon] ?? ICON_COMPONENTS.Info,
|
||||||
|
{
|
||||||
weight: "fill",
|
weight: "fill",
|
||||||
className: "h-5 w-5",
|
className: "h-5 w-5",
|
||||||
})}
|
}
|
||||||
|
)}
|
||||||
</a>
|
</a>
|
||||||
))}
|
))}
|
||||||
{!isMobile && <SettingsButton />}
|
{!isMobile && <SettingsButton />}
|
||||||
|
Loading…
Reference in New Issue
Block a user