diff --git a/packages/overlay/src/integrations/sentry/components/EventBreadcrumbs.tsx b/packages/overlay/src/integrations/sentry/components/EventBreadcrumbs.tsx index 3048edb9..dccfbd1b 100644 --- a/packages/overlay/src/integrations/sentry/components/EventBreadcrumbs.tsx +++ b/packages/overlay/src/integrations/sentry/components/EventBreadcrumbs.tsx @@ -1,3 +1,5 @@ +import { Fragment } from 'react'; +import classNames from '~/lib/classNames'; import { Breadcrumb, SentryEvent } from '../types'; import Time from './Time'; @@ -21,9 +23,9 @@ function extractBreadcrumbs(event: SentryEvent): Breadcrumb[] | undefined { export default function EventBreadcrumbs({ event }: { event: SentryEvent }) { const breadcrumbs = extractBreadcrumbs(event); - if (!breadcrumbs) { + if (!breadcrumbs || !breadcrumbs.length) { return ( -
{crumb.message}-
+ {crumb.message} ++ ); })}