Skip to content

Commit

Permalink
Missed how this was being used
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Feb 20, 2018
1 parent 7a70d5c commit e8ddefc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/react-native/src/preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default class Preview {
this._addons = {};
this._decorators = [];
this._events = new EventEmitter();
this._clientApi = new ClientApi({ storyStore: new StoryStore() });
this._stories = new StoryStore();
this._clientApi = new ClientApi({ storyStore: this._stories });

['storiesOf', 'setAddon', 'addDecorator', 'clearDecorators', 'getStorybook'].forEach(method => {
this[method] = this._clientApi[method].bind(this._clientApi);
Expand Down

0 comments on commit e8ddefc

Please sign in to comment.