diff --git a/index.js b/index.js index d30971e..9e0441b 100755 --- a/index.js +++ b/index.js @@ -40,7 +40,6 @@ export default class Toast extends Component { show(text, duration, callback, onPress) { this.duration = typeof duration === 'number' ? duration : DURATION.LENGTH_SHORT; this.callback = callback; - console.log(typeof onPress) if(typeof onPress === 'function') this.onPress = onPress this.setState({ diff --git a/package.json b/package.json index 5671706..d39297b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-easy-toast", - "version": "2.0.0", + "version": "2.0.1", "description": "A react native module to show toast like android, it works on iOS and Android.", "main": "index.js", "types": "index.d.ts",