Skip to content

Commit

Permalink
fix: ref.current?.resume is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasFridmansky authored and Lipo11 committed Jun 14, 2024
1 parent ad3f00a commit 78911b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Image/video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const StoryVideo: FC<StoryVideoProps> = ( {
const start = () => {

ref.current?.seek( 0 );
ref.current?.resume();
ref.current?.resume?.();

};

Expand Down

0 comments on commit 78911b0

Please sign in to comment.