fix(29-02): lint fixes for GearImage integration

Fix unused parameter warning and formatting issues across all
updated components.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 20:02:38 +02:00
parent 66d9c4157b
commit 9636033361
10 changed files with 169 additions and 34 deletions

View File

@@ -1,12 +1,12 @@
import { Link } from "@tanstack/react-router";
import { useEffect, useState } from "react";
import { GearImage } from "./GearImage";
import {
useGlobalItem,
useGlobalItems,
useLinkItem,
useUnlinkItem,
} from "../hooks/useGlobalItems";
import { GearImage } from "./GearImage";
interface LinkToGlobalItemProps {
itemId: number;
@@ -179,11 +179,7 @@ export function LinkToGlobalItem({
>
{item.imageUrl ? (
<div className="w-8 h-8 rounded overflow-hidden shrink-0">
<GearImage
src={item.imageUrl}
alt=""
cover
/>
<GearImage src={item.imageUrl} alt="" cover />
</div>
) : (
<div className="w-8 h-8 rounded bg-gray-100 shrink-0" />