File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import * as Space from "react-spaces";
3
3
4
4
export default function Home ( ) {
5
5
return (
6
- < Space . SSR >
6
+ < >
7
+ < Space . SSR />
7
8
< Head >
8
9
< title > Create Next App</ title >
9
10
< meta name = "description" content = "Generated by create next app" />
@@ -27,6 +28,6 @@ export default function Home() {
27
28
< Space . Fill centerContent = { Space . CenterType . HorizontalVertical } > Hello world</ Space . Fill >
28
29
</ Space . Fill >
29
30
</ Space . ViewPort >
30
- </ Space . SSR >
31
+ </ >
31
32
) ;
32
33
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as React from "react";
2
2
import { enabledSsrSupport } from "../core-react" ;
3
3
import css from "../styles.css" ;
4
4
5
- export const SSR : React . FC < { children : React . ReactNode } > = ( { children } ) => {
5
+ export const SSR : React . FC < { children ? : React . ReactNode } > = ( { children } ) => {
6
6
enabledSsrSupport ( ) ;
7
7
return (
8
8
< >
You can’t perform that action at this time.
0 commit comments