From 2f32d3e6dfedf985cc09d92c5be3c4b5d0f7b16c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 14 Jul 2020 11:59:15 -0400 Subject: A few fixes. --- ui/src/components/listing-type-select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/src/components/listing-type-select.tsx') diff --git a/ui/src/components/listing-type-select.tsx b/ui/src/components/listing-type-select.tsx index 6d13f19a..e9b5a031 100644 --- a/ui/src/components/listing-type-select.tsx +++ b/ui/src/components/listing-type-select.tsx @@ -26,7 +26,7 @@ export class ListingTypeSelect extends Component< this.state = this.emptyState; } - static getDerivedStateFromProps(props) { + static getDerivedStateFromProps(props: any): ListingTypeSelectProps { return { type_: props.type_, }; -- cgit v1.2.3