Skip to content
Permalink
Browse files

fix(FrameComponent): Map state correctly to support HMR

  • Loading branch information...
eps1lon authored and michaeltaranto committed Jul 23, 2019
1 parent fa28632 commit edaf6a6037d935064e23c0bf15abdb7b69ca5044
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Playroom/Frame.js
@@ -50,7 +50,7 @@ export default class Frame extends Component {
});

module.hot.accept('./frameComponent', () => {
this.setState({ frameComponent: require('./frameComponent') });
this.setState({ FrameComponent: require('./frameComponent') });
});
}
}

0 comments on commit edaf6a6

Please sign in to comment.
You can’t perform that action at this time.