From f60ec74454d631e09daace1442712816632a8351 Mon Sep 17 00:00:00 2001 From: Ansh Saini Date: Fri, 15 Oct 2021 20:11:05 +0530 Subject: [PATCH] handle PublicEvent --- components/GitHubEventAction.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/GitHubEventAction.tsx b/components/GitHubEventAction.tsx index 4bae074..5e3185b 100644 --- a/components/GitHubEventAction.tsx +++ b/components/GitHubEventAction.tsx @@ -78,6 +78,9 @@ function GitHubEventAction({type, payload}: GitHubEventActionProps): JSX.Element const sizeStr = size ? size : '1'; // should we use 'a'? return pushed {sizeStr} commit{size !== 1 && 's'} to; } + case 'PublicEvent': { + return made a new repository public:; + } default: return unknown; }