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

Commit 06fc893

Browse files
committed
fix typo
1 parent 3886155 commit 06fc893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/react/component/class_methods.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ def param(*args)
7979

8080
def collect_other_params_as(name)
8181
validator.allow_undefined_props = true
82-
validator_in_lexial_scope = validator
82+
validator_in_lexical_scope = validator
8383
props_wrapper.define_method(name) do
84-
@_all_others ||= validator_in_lexial_scope.undefined_props(props)
84+
@_all_others ||= validator_in_lexical_scope.undefined_props(props)
8585
end
8686
end
8787

0 commit comments

Comments
 (0)