You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on "stories" in description welcome component
App will be redirect to https://storybooks-official.netlify.com/?path=/story/Button and you see broken markup Expected behavior
Welcome component has linkTo function call linkTo('Button') from links addon. In addon doc i found this:
"Second (optional) parameter is the story name (what you named with .add). If the second parameter is omitted, the link will point to the first story in the given kind."
Screenshots
System:
OS: MacOS 10.14.3
Device: Macbook Pro 2017
Browser: Chrome 72.0.3626.119
Addons: link
Version: 5.0.0
Additional context
I inspect this problem. Like a problem in selectStory from storybook/lib/ui/src/core/stories.js.
If call function without second parameter app will simple redirect to /story/{PARAM} despite PARAM is valid kind name.
The text was updated successfully, but these errors were encountered:
Describe the bug
linkTo
from links addon has incorrect behaviour when it calls without second parameterTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Welcome component has linkTo function call
linkTo('Button')
from links addon. In addon doc i found this:"Second (optional) parameter is the story name (what you named with .add). If the second parameter is omitted, the link will point to the first story in the given kind."
Screenshots
System:
Additional context
I inspect this problem. Like a problem in
selectStory
fromstorybook/lib/ui/src/core/stories.js
.If call function without second parameter app will simple redirect to /story/{PARAM} despite PARAM is valid kind name.
The text was updated successfully, but these errors were encountered: