Merge branch 'renaming/rct-rnc' into cleaning-ios-wkwebview

This commit is contained in:
Thibault Malbranche
2018-09-19 01:25:25 +02:00
+2 -2
View File
@@ -255,7 +255,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
const webView = (
<NativeWebView
ref={webViewRef}
ref={this.webViewRef}
key="webViewKey"
style={webViewStyles}
source={resolveAssetSource(source)}
@@ -390,7 +390,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
* Returns the native `WebView` node.
*/
getWebViewHandle = () => {
return ReactNative.findNodeHandle(webViewRef.current);
return ReactNative.findNodeHandle(this.webViewRef.current);
};
_onLoadingStart = (event: WebViewNavigationEvent) => {