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

Commit 91b34d3

Browse files
committed
&& instead of and
1 parent b67b09e commit 91b34d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/react/native_library.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def self.const_missing(name)
1919
libraries.each do |library|
2020
native_name = "#{library}.#{name}"
2121
native_component = `eval(#{native_name})` rescue nil
22-
React::API.import_native_component(name, native_component) and return name if native_component and `native_component != undefined`
22+
React::API.import_native_component(name, native_component) and return name if native_component && `native_component != undefined`
2323
end
2424
name
2525
end

0 commit comments

Comments
 (0)