Get rid of warning

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-10-24 14:28:48 +02:00
parent 28c93ae62c
commit 1e7b640518
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-import': patch
---
Get rid of `this-is-undefined-in-esm` warning
@@ -98,7 +98,7 @@ export const EntityListComponent = (props: EntityListComponentProps) => {
<ListItem
dense
button={Boolean(onItemClick) as any}
onClick={() => onItemClick?.call(this, r.target)}
onClick={() => onItemClick?.(r.target)}
>
<ListItemIcon>{locationListItemIcon(r.target)}</ListItemIcon>