Skip to content

Commit

Permalink
remove default
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Nov 27, 2024
1 parent bdb72c2 commit f27bde7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions web/src/ui/shared/formattedDate/dateTimeFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ export const { formatDuration } = (() => {
return MONTH;
case "year":
return YEAR;
default:
throw new Error(`Unhandled divisorKey: ${divisorKey}`);
}
})(),
max: (() => {
Expand All @@ -149,8 +147,6 @@ export const { formatDuration } = (() => {
return YEAR;
case "year":
return Infinity;
default:
throw new Error(`Unhandled divisorKey: ${divisorKey}`);
}
})(),
singular: t("singular", { divisorKey }),
Expand Down

0 comments on commit f27bde7

Please sign in to comment.