There was an error while loading. Please reload this page.
1 parent 8b34a29 commit 82511dcCopy full SHA for 82511dc
component.go
@@ -421,9 +421,7 @@ func makeComponentUpdateFunc(f func(c Cops) bool) *js.Object {
421
422
func makeComponentUpdateVoidFunc(f func(c Cops)) *js.Object {
423
return js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {
424
- go func() {
425
- f(extractComponentUpdateArgs(arguments))
426
- }()
+ f(extractComponentUpdateArgs(arguments))
427
return nil
428
})
429
}
0 commit comments