From e5d85921861ee26f08f5b61f3f0d058e0ebb69ce Mon Sep 17 00:00:00 2001 From: Florian BOUILLON Date: Tue, 18 May 2021 10:53:39 +0200 Subject: [PATCH] Removed intensive logging Signed-off-by: Florian BOUILLON --- src/dzeio/Input/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dzeio/Input/index.tsx b/src/dzeio/Input/index.tsx index 3fab53f..567537e 100644 --- a/src/dzeio/Input/index.tsx +++ b/src/dzeio/Input/index.tsx @@ -183,7 +183,7 @@ export default class Input extends React.Component { const div = this.parentRef.current if (!div) {return} const result = !(div.offsetTop - window.scrollY >= window.innerHeight / 2) - console.log(result, div, this.state.isInFirstPartOfScreen) + // console.log(result, div, this.state.isInFirstPartOfScreen) if (this.state.isInFirstPartOfScreen !== result) { this.setState({isInFirstPartOfScreen: result}) } @@ -202,7 +202,7 @@ export default class Input extends React.Component { }) private onAutoCompleteClick = (value: string) => () => { - console.log('test') + // console.log('test') const item = this.getElement() if (!item) {return} const valueSetter = Object.getOwnPropertyDescriptor(item, 'value')?.set