Skip to content

Commit

Permalink
Clean up redundunt code
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Oct 8, 2018
1 parent 9542210 commit 606903b
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 130 deletions.
3 changes: 1 addition & 2 deletions webview-bridge/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ var {
WebViewBridgeManager
}
} = ReactNative;
var { PropTypes } = PropTypes;

var RCT_WEBVIEWBRIDGE_REF = 'webviewbridge';

Expand Down Expand Up @@ -71,7 +70,7 @@ var WebViewBridge = createReactClass({
};
},


componentWillMount: function() {
DeviceEventEmitter.addListener("webViewBridgeMessage", (body) => {
const { onBridgeMessage } = this.props;
Expand Down
Loading

0 comments on commit 606903b

Please sign in to comment.