{
setOpen(false);
router.push(`/scripts?id=${script.slug}`);
}}
>
setOpen(false)}>
((e.currentTarget as HTMLImageElement).src =
`/${basePath}/logo.png`)
}
unoptimized
width={16}
height={16}
alt=""
className="h-5 w-5"
/>
{script.name}
{formattedBadge(script.type)}
))}