From d0868fd32306ced6c06351c139bb44f7d91c636c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Thu, 29 Jul 2021 04:41:58 +0530 Subject: Locked npm modules; Made the nested package module versions be consistent with the parent project, --- packages/forms/src/select/index.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'packages/forms/src') diff --git a/packages/forms/src/select/index.tsx b/packages/forms/src/select/index.tsx index 71bce7039..6f153da6f 100644 --- a/packages/forms/src/select/index.tsx +++ b/packages/forms/src/select/index.tsx @@ -169,9 +169,7 @@ class SelectComponent extends Component { } componentDidUpdate(prevProps: IProps, prevState: IState) { - const { - open, - } = this.state; + const { open } = this.state; if (this.searchInputRef && this.searchInputRef.current) { if (open) { @@ -182,9 +180,7 @@ class SelectComponent extends Component { componentDidMount() { if (this.inputRef && this.inputRef.current) { - const { - data, - } = this.props; + const { data } = this.props; if (data) { Object.keys(data).map(key => this.inputRef.current!.dataset[key] = data[key]); @@ -195,9 +191,7 @@ class SelectComponent extends Component { } componentWillMount() { - const { - value, - } = this.props; + const { value } = this.props; if (this.componentRef && this.componentRef.current) { this.componentRef.current.removeEventListener('keydown', this.keyListener); -- cgit v1.2.3-70-g09d2