Skip to content

Commit

Permalink
Update MountedCompositeView.swift
Browse files Browse the repository at this point in the history
Fix comment typo
  • Loading branch information
MaxDesiatov authored Aug 2, 2020
1 parent 0951525 commit a5e4996
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ final class MountedCompositeView<R: Renderer>: MountedCompositeElement<R> {

// `_TargetRef` is a composite view, so it's enough to check for it only here
if var targetRef = view.view as? TargetRefType {
// `_TargetRef` body is not always a host view that has a target, need to travers
// `_TargetRef` body is not always a host view that has a target, need to traverse
// all descendants to find a `MountedHostView<R>` instance.
var descendant: MountedElement<R>? = child
while descendant != nil && !(descendant is MountedHostView<R>) {
Expand Down

0 comments on commit a5e4996

Please sign in to comment.