From 870396c4cfc6482375034829a6b4d8cc3cb0dabb Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 10 Jun 2022 00:22:47 +0200 Subject: [PATCH] Rename FestaMoment props type --- components/extensions/FestaMoment.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/extensions/FestaMoment.tsx b/components/extensions/FestaMoment.tsx index f81ceba..83559ac 100644 --- a/components/extensions/FestaMoment.tsx +++ b/components/extensions/FestaMoment.tsx @@ -1,13 +1,13 @@ import { useTranslation } from "next-i18next" -type HumanDateProps = { - date: Date +type FestaMomentProps = { + date: Date, } /** * Component that formats a {@link Date} to a machine-readable and human-readable HTML `time[datetime]` element. */ -export function FestaMoment({ date }: HumanDateProps) { +export function FestaMoment({ date }: FestaMomentProps) { const { t } = useTranslation() if (Number.isNaN(date.getTime())) {