Skip to content

Commit

Permalink
Fix issue with incorrect context
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Jan 12, 2018
1 parent 6d92b6d commit 9d9aaab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/react/src/client/preview/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export function renderMain(data, storyStore, forceRender) {
previousStory = selectedStory;
ReactDOM.unmountComponentAtNode(rootEl);

console.log(story);
const element = story();

if (!element) {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/src/client/preview/story_store.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default class StoryStore extends EventEmitter {
return () =>
story({
kind,
name,
story: name,
options,
});
}
Expand Down

0 comments on commit 9d9aaab

Please sign in to comment.