mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
fix: img with empty URL
This commit is contained in:
@@ -44,7 +44,7 @@ function Image({
|
||||
);
|
||||
return (
|
||||
<span className={cn("block w-fit overflow-hidden", className)}>
|
||||
{isError ? (
|
||||
{isError || !src ? (
|
||||
fallback
|
||||
) : (
|
||||
<Tooltip title={alt ?? "No caption"}>
|
||||
|
||||
Reference in New Issue
Block a user