diff --git a/app/react/src/client/preview/render.js b/app/react/src/client/preview/render.js index c14d86de1e28..c5d591e7915a 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.js @@ -77,7 +77,6 @@ export function renderMain(data, storyStore, forceRender) { previousStory = selectedStory; ReactDOM.unmountComponentAtNode(rootEl); - console.log(story); const element = story(); if (!element) { diff --git a/lib/core/src/client/preview/story_store.js b/lib/core/src/client/preview/story_store.js index 3f79f24456cc..828d4b0e1ac2 100644 --- a/lib/core/src/client/preview/story_store.js +++ b/lib/core/src/client/preview/story_store.js @@ -104,7 +104,7 @@ export default class StoryStore extends EventEmitter { return () => story({ kind, - name, + story: name, options, }); }