We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b91874 commit 1a45a5eCopy full SHA for 1a45a5e
storyhelpers/storybook-readme/register.js
@@ -19,7 +19,7 @@ const Readme = props => {
19
const [markdown, setMarkdown] = useState();
20
useEffect(() => {
21
const api = props.api;
22
- api.on(STORY_RENDERED, eventData => {
+ api.on(STORY_RENDERED, () => {
23
setMarkdown('');
24
const component = api.getCurrentStoryData().component;
25
if (component) {
0 commit comments