diff --git a/plugins/ui/src/js/src/elements/Picker.tsx b/plugins/ui/src/js/src/elements/Picker.tsx index 694517776..7cc7f023f 100644 --- a/plugins/ui/src/js/src/elements/Picker.tsx +++ b/plugins/ui/src/js/src/elements/Picker.tsx @@ -40,9 +40,9 @@ function Picker({ children, ...props }: PickerProps) { useTableClose(table); if (isObjectView) { - // eslint-disable-next-line react/jsx-props-no-spreading return ( table && ( + // eslint-disable-next-line react/jsx-props-no-spreading ) );