Skip to content

Commit

Permalink
fix(frontend): clear selected span in test mode (#3581)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc authored Jan 30, 2024
1 parent 5121c7c commit e72a7e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/providers/Span/Span.provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const SpanProvider = ({children}: IProps) => {
return () => {
dispatch(RouterActions.updateSearch({[RouterSearchFields.SelectedSpan]: ''}));
dispatch(clearMatchedSpans());
dispatch(clearSelectedSpan());
};
}, [dispatch]);

Expand Down

0 comments on commit e72a7e8

Please sign in to comment.