diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx index 9e24d7fd74366..0575146a6bf5a 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx @@ -53,7 +53,7 @@ function ErrorGroupList({ items, serviceName }: Props) { const { urlParams } = useUrlParams(); const columns = useMemo(() => { - const a: Array> = [ + return [ { name: ( <> @@ -189,9 +189,7 @@ function ErrorGroupList({ items, serviceName }: Props) { NOT_AVAILABLE_LABEL ), }, - ]; - - return a; + ] as Array>; }, [serviceName, urlParams]); return (