aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/colorPickerInput/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/colorPickerInput/index.tsx')
-rw-r--r--src/components/ui/colorPickerInput/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ui/colorPickerInput/index.tsx b/src/components/ui/colorPickerInput/index.tsx
index 9bab6efec..2367175bd 100644
--- a/src/components/ui/colorPickerInput/index.tsx
+++ b/src/components/ui/colorPickerInput/index.tsx
@@ -25,7 +25,7 @@ class ColorPickerInput extends Component<IProps> {
25 25
26 componentDidMount(): void { 26 componentDidMount(): void {
27 const { focus = false } = this.props; 27 const { focus = false } = this.props;
28 if (focus && this.inputElement && this.inputElement.current) { 28 if (focus && this.inputElement?.current) {
29 this.inputElement.current.focus(); 29 this.inputElement.current.focus();
30 } 30 }
31 } 31 }