Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Fix export signature to es6 style #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix export signature to es6 style
(since we are using es6 imports both on client and server)
Otherwise when we are importing routes from 'modules/routes' it says that there is no default export in 'modules/routes'
  • Loading branch information
dKab authored Feb 19, 2017
commit fe9ca4ceda0691750d2826ce44a5a1e0f85db7ba
2 changes: 1 addition & 1 deletion lessons/13-server-rendering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ import Repos from './Repos'
import Repo from './Repo'
import Home from './Home'

module.exports = (
export default (
<Route path="/" component={App}>
<IndexRoute component={Home}/>
<Route path="/repos" component={Repos}>
Expand Down