diff --git a/static/app/views/replays/detail/breadcrumbs/useBreadcrumbFilters.tsx b/static/app/views/replays/detail/breadcrumbs/useBreadcrumbFilters.tsx index 31c0a83809a39..9ead461ded05e 100644 --- a/static/app/views/replays/detail/breadcrumbs/useBreadcrumbFilters.tsx +++ b/static/app/views/replays/detail/breadcrumbs/useBreadcrumbFilters.tsx @@ -117,7 +117,7 @@ function useBreadcrumbFilters({frames}: Options): Return { // add custom breadcrumbs to filter frames.forEach(frame => { - if (!OPORCATEGORY_TO_TYPE[getFrameOpOrCategory(frame)]) { + if (!(getFrameOpOrCategory(frame) in OPORCATEGORY_TO_TYPE)) { OPORCATEGORY_TO_TYPE[getFrameOpOrCategory(frame)] = 'custom'; } });