diff --git a/lib/react/curses/nodes/component.rb b/lib/react/curses/nodes/component.rb index 39480f0..ff9d807 100644 --- a/lib/react/curses/nodes/component.rb +++ b/lib/react/curses/nodes/component.rb @@ -11,7 +11,7 @@ module React end def draw - elem = instance.send :render + elem = instance.render Nodes.klass_for(elem).new(self, elem).draw end end