Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 3366f19

Browse files
committed
remove needless to_n in render
1 parent 46de6b0 commit 3366f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def self.native_component_class(type)
8888
},
8989
render: function() {
9090
var instance = this._getOpalInstance.apply(this);
91-
return #{`instance`.render.to_n};
91+
return instance.$render();
9292
}
9393
})
9494
}

0 commit comments

Comments
 (0)