Skip to content

Commit 5ae6029

Browse files
authored
Minor simplification.
1 parent 6e49f36 commit 5ae6029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coconut/react/View.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class ViewBase extends NativeComponent<{ revision: Int }, {}, ImplicitContext> {
6060
}
6161

6262
function __getRender()
63-
return Observable.untracked(() -> (__rendered:ObservableObject<RenderResult>).getValue());
63+
return Observable.untracked(() -> __rendered.value);
6464

6565
@:keep @:noCompletion @:final function shouldComponentUpdate(_, _)
6666
return __last != __getRender();

0 commit comments

Comments
 (0)