Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
oatkiller committed Jul 19, 2020
1 parent 1fe12a1 commit bbce3b1
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,7 @@ export const RelatedEventDetail = memo(function RelatedEventDetail({
// This could happen if user relaods from URL param and requests an eventId that no longer exists
return [[], naString];
}
// Assuming these details (agent, ecs, process) aren't as helpful, can revisit
const {
agent,
ecs,
process,
...relevantData
} = relatedEventToShowDetailsFor as ResolverEvent & {
const { agent, ecs, ...relevantData } = relatedEventToShowDetailsFor as ResolverEvent & {
ecs: unknown;
};
let displayDate = '';
Expand Down Expand Up @@ -371,4 +365,3 @@ export const RelatedEventDetail = memo(function RelatedEventDetail({
</>
);
});
RelatedEventDetail.displayName = 'RelatedEventDetail';

0 comments on commit bbce3b1

Please sign in to comment.