From da395a28401001b9d977663406a3e898aa74d793 Mon Sep 17 00:00:00 2001 From: Pavel Zavora Date: Fri, 22 Jul 2022 15:39:22 +0200 Subject: [PATCH] chore: repair Dropdown after removal of experimental decorators --- ui/src/shared/components/Dropdown.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/src/shared/components/Dropdown.tsx b/ui/src/shared/components/Dropdown.tsx index f7b298493..e453a74fe 100644 --- a/ui/src/shared/components/Dropdown.tsx +++ b/ui/src/shared/components/Dropdown.tsx @@ -44,7 +44,7 @@ interface State { highlightedItemIndex: number } -export class Dropdown extends Component { +class Dropdown extends Component { public static defaultProps: Partial = { actions: [], buttonSize: 'btn-sm', @@ -257,5 +257,6 @@ export class Dropdown extends Component { } } } - -export default OnClickOutside(ErrorHandling(Dropdown)) +const DropdownEH = ErrorHandling(Dropdown) +export {DropdownEH as Dropdown} +export default OnClickOutside(DropdownEH)