fix(27): lint fixes — unused param, import order, formatting
All checks were successful
CI / ci (push) Successful in 1m8s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 13s

This commit is contained in:
2026-04-10 23:54:46 +02:00
parent 3144d290d4
commit a576f53d33
4 changed files with 17 additions and 30 deletions

View File

@@ -10,18 +10,15 @@ interface TabItemProps {
isActive: boolean;
}
function TabItemWrapper({
icon,
label,
isActive,
children,
}: TabItemProps & { children?: React.ReactNode }) {
function TabItemWrapper({ icon, label, isActive }: TabItemProps) {
const activeClass = "text-gray-900";
const inactiveClass = "text-gray-400";
const colorClass = isActive ? activeClass : inactiveClass;
return (
<span className={`flex flex-col items-center gap-0.5 py-2 px-4 ${colorClass}`}>
<span
className={`flex flex-col items-center gap-0.5 py-2 px-4 ${colorClass}`}
>
<LucideIcon name={icon} size={20} />
<span className="text-xs">{label}</span>
</span>
@@ -83,10 +80,7 @@ export function BottomTabBar() {
)}
{/* Search tab — always a button, opens CatalogSearchOverlay */}
<button
type="button"
onClick={() => openCatalogSearch("collection")}
>
<button type="button" onClick={() => openCatalogSearch("collection")}>
<TabItemWrapper icon="search" label="Search" isActive={false} />
</button>
</div>