lib/preact/component/initializer.rb in isomorfeus-preact-10.6.14 vs lib/preact/component/initializer.rb in isomorfeus-preact-10.6.15
- old
+ new
@@ -1,11 +1,11 @@
module Preact
module Component
module Initializer
def initialize(native_component)
@native = native_component
- @props = `Opal.Preact.Component.Props.$new(#@native)`
- @state = `Opal.Preact.Component.State.$new(#@native)`
+ @props = `Opal.Preact.Props.$new(#@native)`
+ @state = `Opal.Preact.State.$new(#@native)`
end
end
end
end