aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/input/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/input/index.tsx')
-rw-r--r--src/components/ui/input/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/input/index.tsx b/src/components/ui/input/index.tsx
index fe8f35607..064c1807f 100644
--- a/src/components/ui/input/index.tsx
+++ b/src/components/ui/input/index.tsx
@@ -67,7 +67,7 @@ class Input extends Component<IProps, IState> {
67 componentDidMount(): void { 67 componentDidMount(): void {
68 const { focus = false, data = {} } = this.props; 68 const { focus = false, data = {} } = this.props;
69 69
70 if (this.inputElement && this.inputElement.current) { 70 if (this.inputElement?.current) {
71 if (focus) { 71 if (focus) {
72 this.inputElement.current.focus(); 72 this.inputElement.current.focus();
73 } 73 }