Closed aicest closed 11 months ago
Since Storybook 7.2.0, the addon render function is called like a component, and the key will be consumed by React and not passed to the render function, thus we should not access it inside the addon render function.
key
Can you try the v2 ? https://github.com/JesusTheHun/storybook-addon-react-router-v6/releases/tag/v2.0.0-rc.0
@JesusTheHun v2 works for me, thanks.
Since Storybook 7.2.0, the addon render function is called like a component, and the
key
will be consumed by React and not passed to the render function, thus we should not access it inside the addon render function.