fix build and lints

This commit is contained in:
Kentai Radiquum 2025-04-04 00:41:04 +05:00
parent 329448c9fc
commit 491f9b48b5
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
9 changed files with 19 additions and 31 deletions

View file

@ -14,7 +14,7 @@ export const ReleaseInfoStreaming = (props: { release_id: number }) => {
setData(await response.json());
};
_getData();
}, []);
}, [props.release_id]);
return (
<>
@ -32,7 +32,8 @@ export const ReleaseInfoStreaming = (props: { release_id: number }) => {
key={`platform_${item.id}`}
className="flex items-center gap-2 px-4 py-2 transition-colors bg-gray-100 rounded-lg hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600 "
>
<img src={item.icon} className="w-6 h-6 rounded-full" />
{/* eslint-disable-next-line @next/next/no-img-element */}
<img alt="" src={item.icon} className="w-6 h-6 rounded-full" />
<p className="text-sm line-clamp-2">{item.name}</p>
</a>
);