-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11637 from storybookjs/11571-fix-prefix-redirect
Core: Fix prefix redirect
- Loading branch information
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
examples/official-storybook/stories/core/prefix.stories.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Very simple stories to show what happens when one story's id is a prefix of anothers' | ||
// Repro for https://github.com/storybookjs/storybook/issues/11571 | ||
|
||
export default { | ||
title: 'Core/Prefix', | ||
}; | ||
|
||
const Template = () => 'Story'; | ||
|
||
export const prefixAndName = Template.bind({}); | ||
export const prefix = Template.bind({}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters