Skip to content

Commit

Permalink
Merge pull request #3045 from storybooks/tmeasday/fix-rn
Browse files Browse the repository at this point in the history
Fix problem with RN on latest `master` build
  • Loading branch information
Hypnosphi committed Feb 21, 2018
2 parents 3ab8276 + a47b496 commit d51be08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/src/client/preview/client_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class ClientApi {
);
}

if (m && m.hot) {
if (m && m.hot && m.hot.dispose) {
m.hot.dispose(() => {
this._storyStore.removeStoryKind(kind);
this._storyStore.incrementRevision();
Expand Down

0 comments on commit d51be08

Please sign in to comment.