Skip to content

Commit

Permalink
PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
c298lee committed Sep 23, 2024
1 parent 37b1ff8 commit 64730b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
});
Expand Down

0 comments on commit 64730b6

Please sign in to comment.