Skip to content

Commit

Permalink
fix: image loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFridmansky authored and Lipo11 committed Oct 31, 2023
1 parent b6c7811 commit 9d74a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Image/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const StoryImage: FC<StoryImageProps> = ( {

}

if ( data.uri === story.sourceUrl && ( data.isVideo || videoDuration.value !== undefined ) ) {
if ( data.uri === story.sourceUrl && ( !data.isVideo || videoDuration.value !== undefined ) ) {

onLoad( videoDuration.value );

Expand Down

0 comments on commit 9d74a08

Please sign in to comment.