mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
fix build and lints
This commit is contained in:
parent
329448c9fc
commit
491f9b48b5
9 changed files with 19 additions and 31 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue