fix: resolve lint errors from phase 32/33/34 execution
Auto-fixed formatting issues and removed unused imports introduced by background execution agents across currency, i18n, and sharing code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,11 @@ export function BottomTabBar() {
|
||||
<div className="flex justify-around">
|
||||
{/* Home tab — always a Link */}
|
||||
<Link to="/">
|
||||
<TabItemWrapper icon="house" label={t("nav.home")} isActive={isHome} />
|
||||
<TabItemWrapper
|
||||
icon="house"
|
||||
label={t("nav.home")}
|
||||
isActive={isHome}
|
||||
/>
|
||||
</Link>
|
||||
|
||||
{/* Collection tab — Link if authenticated, button if anonymous */}
|
||||
@@ -73,17 +77,29 @@ export function BottomTabBar() {
|
||||
{/* Setups tab — Link if authenticated, button if anonymous */}
|
||||
{isAuthenticated ? (
|
||||
<Link to="/setups">
|
||||
<TabItemWrapper icon="layers" label={t("nav.setups")} isActive={isSetups} />
|
||||
<TabItemWrapper
|
||||
icon="layers"
|
||||
label={t("nav.setups")}
|
||||
isActive={isSetups}
|
||||
/>
|
||||
</Link>
|
||||
) : (
|
||||
<button type="button" onClick={openAuthPrompt}>
|
||||
<TabItemWrapper icon="layers" label={t("nav.setups")} isActive={isSetups} />
|
||||
<TabItemWrapper
|
||||
icon="layers"
|
||||
label={t("nav.setups")}
|
||||
isActive={isSetups}
|
||||
/>
|
||||
</button>
|
||||
)}
|
||||
|
||||
{/* Search tab — always a button, opens CatalogSearchOverlay */}
|
||||
<button type="button" onClick={() => openCatalogSearch("collection")}>
|
||||
<TabItemWrapper icon="search" label={t("nav.search")} isActive={false} />
|
||||
<TabItemWrapper
|
||||
icon="search"
|
||||
label={t("nav.search")}
|
||||
isActive={false}
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
Reference in New Issue
Block a user