Skip to content

Commit 78f2349

Browse files
authored
fix(react-storybook-addon): change FluentStory iframe URL to work with subpaths (#35517)
1 parent 9e7bcb7 commit 78f2349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-components/react-storybook-addon/src/docs/FluentStory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type FluentStoryProps = {
2020
export const FluentStory = ({ id, height }: FluentStoryProps): JSXElement => {
2121
return (
2222
<div className="sb-story sb-unstyled">
23-
<iframe title={id} src={`/iframe.html?id=${id}&mode=story`} style={iframeStyle} height={height} />
23+
<iframe title={id} src={`iframe.html?id=${id}&mode=story`} style={iframeStyle} height={height} />
2424
</div>
2525
);
2626
};

0 commit comments

Comments
 (0)