lib/react/component/initializer.rb in isomorfeus-react-16.8.4 vs lib/react/component/initializer.rb in isomorfeus-react-16.8.5
- old
+ new
@@ -1,10 +1,10 @@
module React
module Component
module Initializer
def initialize(native_component)
@native = native_component
- @props = `Opal.React.Component.Props.$new(#@native.props)`
+ @props = `Opal.React.Component.Props.$new(#@native)`
@state = `Opal.React.Component.State.$new(#@native)`
end
end
end
end