diff --git a/x-pack/plugins/apm/public/components/shared/Links/apm/RumOverviewLink.tsx b/x-pack/plugins/apm/public/components/shared/Links/apm/RumOverviewLink.tsx index 785c9e60c3221..729ed9b10f827 100644 --- a/x-pack/plugins/apm/public/components/shared/Links/apm/RumOverviewLink.tsx +++ b/x-pack/plugins/apm/public/components/shared/Links/apm/RumOverviewLink.tsx @@ -15,12 +15,13 @@ import { APMLink, APMLinkExtendProps } from './APMLink'; interface RumOverviewLinkProps extends APMLinkExtendProps { serviceName?: string; } -const RumOverviewLink = ({ serviceName, ...rest }: RumOverviewLinkProps) => { +export function RumOverviewLink({ + serviceName, + ...rest +}: RumOverviewLinkProps) { const path = serviceName ? `/services/${serviceName}/rum-overview` : '/rum-overview'; return ; -}; - -export { RumOverviewLink }; +}