Skip to content

Commit

Permalink
fix: SDK-70 Add missing bridgeOptions param in StoryblokStory
Browse files Browse the repository at this point in the history
  • Loading branch information
schabibi1 committed Aug 17, 2023
1 parent 64d92a4 commit edebe36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ interface StoryblokStoryProps {
}

const StoryblokStory = forwardRef<HTMLElement, StoryblokStoryProps>(
({ story, ...restProps }, ref) => {
story = useStoryblokState(story);
({ story, bridgeOptions, ...restProps }, ref) => {
story = useStoryblokState(story, bridgeOptions);
return <StoryblokComponent ref={ref} blok={story.content} {...restProps} />;
}
);
Expand Down

0 comments on commit edebe36

Please sign in to comment.