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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user