mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-14 08:49:41 +05:00
fix build and lints
This commit is contained in:
parent
329448c9fc
commit
491f9b48b5
9 changed files with 19 additions and 31 deletions
|
@ -16,7 +16,8 @@ interface Voiceover {
|
|||
const DropdownTrigger = ({ icon, name, pinned }: Voiceover) => {
|
||||
return (
|
||||
<div className="flex items-center gap-2 cursor-pointer">
|
||||
{icon && <img className="w-6 h-6 rounded-full" src={icon}></img>}
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
{icon && <img alt="" className="w-6 h-6 rounded-full" src={icon}></img>}
|
||||
<p>{name}</p>
|
||||
{pinned && (
|
||||
<span className="h-6 bg-gray-700 dark:bg-gray-300 iconify material-symbols--push-pin"></span>
|
||||
|
@ -36,7 +37,8 @@ const DropdownItemInternal = ({
|
|||
return (
|
||||
<div className="flex flex-col gap-2 cursor-pointer">
|
||||
<div className="flex items-center gap-2">
|
||||
{icon && <img className="w-6 h-6 rounded-full" src={icon}></img>}
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
{icon && <img alt="" className="w-6 h-6 rounded-full" src={icon}></img>}
|
||||
<p>{name}</p>
|
||||
{pinned && (
|
||||
<span className="h-6 iconify material-symbols--push-pin"></span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue