diff --git a/app/src/components/home/ModelMarket.tsx b/app/src/components/home/ModelMarket.tsx index 594866f9..61c2d14e 100644 --- a/app/src/components/home/ModelMarket.tsx +++ b/app/src/components/home/ModelMarket.tsx @@ -78,7 +78,7 @@ function getTags(model: Model): string[] { } export function getModelAvatar(avatar: string) { - return useMemo(() => (isUrl(avatar) ? avatar : `/icons/${avatar}`), [avatar]); + return isUrl(avatar) ? avatar : `/icons/${avatar}`; } function SearchBar({ value, onChange }: SearchBarProps) {