From 3199ed2ffff9c08efa455c6d66cfa1fcc541d562 Mon Sep 17 00:00:00 2001 From: Stephen Date: Mon, 9 Dec 2024 22:36:57 -0500 Subject: [PATCH] remove console log to stop logging undefined with each toast render --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 3cbb1c8..27ad2c7 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,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({