michael-s-molina commented on code in PR #22362:
URL: https://github.com/apache/superset/pull/22362#discussion_r1042594565
##########
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControls.tsx:
##########
@@ -103,7 +103,7 @@ const FilterControls: FC<FilterControlsProps> = ({
return (
// Empty text node is to ensure there's always an element preceding
// the OutPortal, otherwise react-reverse-portal crashes
- <React.Fragment key={id}>
+ <React.Fragment>
{'' /* eslint-disable-line react/jsx-curly-brace-presence */}
<OutPortal node={portalNodes[index]} inView />
</React.Fragment>
Review Comment:
To prevent `Prefer fragment shorthand over React.Fragment` warning.
```suggestion
<>
{'' /* eslint-disable-line react/jsx-curly-brace-presence */}
<OutPortal node={portalNodes[index]} inView />
</>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]