Skip to content

Commit c6ac651

Browse files
authored
Merge pull request #3732 from pleunv/fix-examples
Fix auth-with-shared-route example
2 parents e531f45 + 46bbc84 commit c6ac651

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

examples/auth-with-shared-root/components/About.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ const About = React.createClass({
66
}
77
})
88

9-
export default About
9+
module.exports = About

examples/auth-with-shared-root/components/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ const App = React.createClass({
4444

4545
})
4646

47-
export default App
47+
module.exports = App

examples/auth-with-shared-root/components/Dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ const Dashboard = React.createClass({
1616
}
1717
})
1818

19-
export default Dashboard
19+
module.exports = Dashboard

examples/auth-with-shared-root/components/Landing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ const Landing = React.createClass({
1414

1515
})
1616

17-
export default Landing
17+
module.exports = Landing

examples/auth-with-shared-root/components/Login.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ const Login = React.createClass({
4444

4545
})
4646

47-
export default withRouter(Login)
47+
module.exports = withRouter(Login)

examples/auth-with-shared-root/components/Logout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ const Logout = React.createClass({
1111
}
1212
})
1313

14-
export default Logout
14+
module.exports = Logout

examples/auth-with-shared-root/components/PageOne.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ const PageOne = React.createClass({
66
}
77
})
88

9-
export default PageOne
9+
module.exports = PageOne

examples/auth-with-shared-root/components/PageTwo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ const PageTwo = React.createClass({
66
}
77
})
88

9-
export default PageTwo
9+
module.exports = PageTwo

examples/auth-with-shared-root/components/User.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ const User = React.createClass({
66
}
77
})
88

9-
export default User
9+
module.exports = User

0 commit comments

Comments
 (0)