Skip to content

Commit

Permalink
Pass props to loadRootComponent (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored and joeldenning committed Dec 17, 2019
1 parent f93a1d7 commit abd27e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/single-spa-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function bootstrap(opts, props) {
} else {
// They passed a promise that resolves with the react component. Wait for it to resolve before mounting
return opts
.loadRootComponent()
.loadRootComponent(props)
.then(resolvedComponent => {
opts.rootComponent = resolvedComponent
})
Expand Down

0 comments on commit abd27e6

Please sign in to comment.