[bug] exporting Default
from a story with atleast one more export breaks sidebar active
items
#73
Labels
bug
Something isn't working
Describe the bug
If you export
const Default
from a story where at least one other story is exported, the active item status in the sidebar is displayed incorrectly when you click on theDefault
story. Theactive
CSS class is not only applied to the clicked link, but all items of the sidebar.Reproduction
pnpm i
buttons.stories.tsx
in thedocs
package37
renameWithComponentProps
toDefault
pnpm dev
Environment
The text was updated successfully, but these errors were encountered: