summaryrefslogtreecommitdiffstats
path: root/ui/src/components/data-type-select.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/data-type-select.tsx')
-rw-r--r--ui/src/components/data-type-select.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/data-type-select.tsx b/ui/src/components/data-type-select.tsx
index 8e905bf4..d16c785d 100644
--- a/ui/src/components/data-type-select.tsx
+++ b/ui/src/components/data-type-select.tsx
@@ -25,7 +25,7 @@ export class DataTypeSelect extends Component<
this.state = this.emptyState;
}
- static getDerivedStateFromProps(props) {
+ static getDerivedStateFromProps(props: any): DataTypeSelectProps {
return {
type_: props.type_,
};