fix undifined

#46
This commit is contained in:
pompurin404 2024-08-16 18:37:58 +08:00
parent 60bfd92a68
commit b43505a949
No known key found for this signature in database

View File

@ -169,7 +169,7 @@ const Proxies: React.FC = () => {
<CardBody className="w-full">
<div className="flex justify-between">
<div className="flex text-ellipsis overflow-hidden whitespace-nowrap">
{groups[index].icon.length > 0 ? (
{groups[index].icon ? (
<Avatar
className="bg-transparent mr-2"
size="sm"