File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ type context = {
15
15
"serverSide" : bool ,
16
16
}
17
17
18
- let component = (props : props , _context : context ) => <HelloWorld nameProp = {props ["name" ]} />
18
+ let component = (props : props , _context : context ) => {
19
+ (. ()) => <HelloWorld nameProp = {props ["name" ]} />
20
+ }
21
+
19
22
20
23
ReactOnRails .register ("HelloWorld" , component )
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ type context = {
18
18
"serverSide" : bool ,
19
19
}
20
20
21
- let component = (props : props , _context : context ) => <HelloWorld nameProp = {props ["name" ]} />
21
+ let component = (props : props , _context : context ) => {
22
+ (. ()) => <HelloWorld nameProp = {props ["name" ]} />
23
+ }
22
24
23
25
ReactOnRails .register ("HelloWorld" , component )
Original file line number Diff line number Diff line change @@ -3191,6 +3191,14 @@ nth-check@^2.0.1:
3191
3191
dependencies :
3192
3192
boolbase "^1.0.0"
3193
3193
3194
+ null-loader@^4.0.1 :
3195
+ version "4.0.1"
3196
+ resolved "https://registry.yarnpkg.com/null-loader/-/null-loader-4.0.1.tgz#8e63bd3a2dd3c64236a4679428632edd0a6dbc6a"
3197
+ integrity sha512-pxqVbi4U6N26lq+LmgIbB5XATP0VdZKOG25DhHi8btMmJJefGArFyDg1yc4U3hWCJbMqSrw0qyrz1UQX+qYXqg==
3198
+ dependencies :
3199
+ loader-utils "^2.0.0"
3200
+ schema-utils "^3.0.0"
3201
+
3194
3202
object-assign@^4.1.1 :
3195
3203
version "4.1.1"
3196
3204
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
You can’t perform that action at this time.
0 commit comments