mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-20 01:09:06 +08:00
fix: img with empty URL
This commit is contained in:
parent
4ae9508c54
commit
b2c9e5f893
@ -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"}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user