We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 513fdc3 commit 437cc16Copy full SHA for 437cc16
src/server-router.tsx
@@ -9,14 +9,15 @@ export default class ServerRouter extends Router {
9
Router: ServerRouter
10
};
11
}
12
+
13
render() {
14
return (
- <div>
15
+ <React.Fragment>
16
{this.props.children ? this.props.children : <this.state.Component {...this.state.componentProps} />}
17
<script id="__react-router-async" dangerouslySetInnerHTML={{ __html: `window.__REACT_ROUTER_ASYNC__=${JSON.stringify({
18
state: this.state
19
})};`}} />
- </div>
20
+ </React.Fragment>
21
)
22
23
0 commit comments