Skip to content

Commit

Permalink
fix missed code after BSOD on my machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
happycollision committed Nov 15, 2016
1 parent de59aa1 commit d720e2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ let templates = require('./stores/live-data-faker').default;
*/
function initTemplateBrowser (options) {
ReactDOM.render(
<Browser templates={ templates } />,
<Browser templates={ templates }
onTemplateOpen={ options.onTemplateOpen } />,
document.getElementById(options.divId)
);
}
Expand Down

0 comments on commit d720e2c

Please sign in to comment.