Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oatkiller committed Jul 19, 2020
1 parent 1fe12a1 commit 546079d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ export const RelatedEventDetail = memo(function RelatedEventDetail({
process,
...relevantData
} = relatedEventToShowDetailsFor as ResolverEvent & {
// Type this with various unknown keys so that ts will let us delete those keys
ecs: unknown;
process: unknown;
};
let displayDate = '';
const sectionData: Array<{
Expand Down Expand Up @@ -371,4 +373,3 @@ export const RelatedEventDetail = memo(function RelatedEventDetail({
</>
);
});
RelatedEventDetail.displayName = 'RelatedEventDetail';

0 comments on commit 546079d

Please sign in to comment.