Permalink
Browse files

Fix auth-with-shared-root example

Fix for the changed default export behavior in babel 6.

Fix auth-with-shared-root example
  • Loading branch information...
1 parent e531f45 commit 46bbc84dde82c8a894479c6177e841b30ea029df @pleunv pleunv committed Aug 17, 2016
@@ -6,4 +6,4 @@ const About = React.createClass({
}
})
-export default About
+module.exports = About
@@ -44,4 +44,4 @@ const App = React.createClass({
})
-export default App
+module.exports = App
@@ -16,4 +16,4 @@ const Dashboard = React.createClass({
}
})
-export default Dashboard
+module.exports = Dashboard
@@ -14,4 +14,4 @@ const Landing = React.createClass({
})
-export default Landing
+module.exports = Landing
@@ -44,4 +44,4 @@ const Login = React.createClass({
})
-export default withRouter(Login)
+module.exports = withRouter(Login)
@@ -11,4 +11,4 @@ const Logout = React.createClass({
}
})
-export default Logout
+module.exports = Logout
@@ -6,4 +6,4 @@ const PageOne = React.createClass({
}
})
-export default PageOne
+module.exports = PageOne
@@ -6,4 +6,4 @@ const PageTwo = React.createClass({
}
})
-export default PageTwo
+module.exports = PageTwo
@@ -6,4 +6,4 @@ const User = React.createClass({
}
})
-export default User
+module.exports = User

0 comments on commit 46bbc84

Please sign in to comment.