Skip to content

Commit

Permalink
refactor: Remove dead function
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-perri committed Jan 23, 2024
1 parent 5610787 commit 724a9a4
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/types/BadgeGravity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ enum BadgeGravity {
Southeast = 'southeast',
}

export function getGravityFromBadgeGravity(
badgeGravity: BadgeGravity,
): Gravity {
switch (badgeGravity) {
case BadgeGravity.Northwest:
return Gravity.Northwest;
case BadgeGravity.North:
return Gravity.North;
case BadgeGravity.Northeast:
return Gravity.Northeast;
case BadgeGravity.Southwest:
return Gravity.Southwest;
case BadgeGravity.South:
return Gravity.South;
case BadgeGravity.Southeast:
return Gravity.Southeast;
}
}

export function getBadgeGravityFromString(input: string): BadgeGravity {
switch (input.toLowerCase()) {
case 'northwest':
Expand Down

0 comments on commit 724a9a4

Please sign in to comment.