Skip to content

Commit

Permalink
handle PublicEvent (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansh-saini authored Oct 15, 2021
1 parent e0c6a15 commit 9f991a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/GitHubEventAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ function GitHubEventAction({type, payload}: GitHubEventActionProps): JSX.Element
const sizeStr = size ? size : '1'; // should we use 'a'?
return <span>pushed {sizeStr} commit{size !== 1 && 's'} to</span>;
}
case 'PublicEvent': {
return <span>made a new repository public:</span>;
}
default:
return unknown;
}
Expand Down

0 comments on commit 9f991a2

Please sign in to comment.