From cbae88fc4e9b98764cfccca2e85f265c4b894573 Mon Sep 17 00:00:00 2001
From: Adam Brangenberg <adambrangenberg@proton.me>
Date: Mon, 31 Jul 2023 04:08:32 +0000
Subject: [PATCH] Removing redundant properties (#356)
---
quartz/components/Date.tsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/quartz/components/Date.tsx b/quartz/components/Date.tsx
index 7ea6ad4..16c4544 100644
--- a/quartz/components/Date.tsx
+++ b/quartz/components/Date.tsx
@@ -3,10 +3,10 @@
}
export function Date({ date }: Props) {
- const formattedDate = date.toLocaleDateString('en-US', {
+ const formattedDate = date.toLocaleDateString("en-US", {
year: "numeric",
month: "short",
- day: '2-digit'
+ day: "2-digit",
})
return <>{formattedDate}</>
}
--
Gitblit v1.10.0