Skip to content

Commit

Permalink
Re-add the .default to require of TheFold in common.js (#743)
Browse files Browse the repository at this point in the history
Turns out the add-module-exports babel plugin doesn't work when there are
multiple exports from a module (as there are for TheFold).  Makes sense.
  • Loading branch information
gigabo authored Nov 9, 2016
1 parent 92c1bd2 commit 7cab10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/core/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
RootContainer: require("./components/RootContainer"),
RootElement: require("./components/RootElement"),
Link: require('./components/Link'),
TheFold: require('./components/TheFold'),
TheFold: require('./components/TheFold').default,
History: require('./components/History'),
navigateTo: require('./util/navigateTo'),
ClientRequest: require('./ClientRequest'),
Expand Down

0 comments on commit 7cab10c

Please sign in to comment.