Skip to content

Commit

Permalink
fix(player/react): empty string error on thumbnail image
Browse files Browse the repository at this point in the history
closes #1368
  • Loading branch information
mihar-22 committed Aug 1, 2024
1 parent 9ef5502 commit 4fe90f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/ui/thumbnail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Img = React.forwardRef<HTMLImageElement, ImgProps>(({ children, ...props }
<Primitive.img
crossOrigin={$crossOrigin as '' | undefined}
{...props}
src={$src}
src={$src || undefined}
ref={composeRefs((img as any).set, forwardRef)}
>
{children}
Expand Down

0 comments on commit 4fe90f3

Please sign in to comment.