From 4b9018b6d92ef8f1854d9dc44625295c2acd3fb3 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 3 Jul 2025 13:59:59 +0300 Subject: Cleanup old notes feature --- src/utils/date.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/date.ts') diff --git a/src/utils/date.ts b/src/utils/date.ts index b919810..b8c0376 100644 --- a/src/utils/date.ts +++ b/src/utils/date.ts @@ -16,8 +16,8 @@ export function getFormattedDate( } export function collectionDateSort( - a: CollectionEntry<"post" | "note" | "micro">, - b: CollectionEntry<"post" | "note" | "micro">, + a: CollectionEntry<"post" | "micro">, + b: CollectionEntry<"post" | "micro">, ) { return b.data.publishDate.getTime() - a.data.publishDate.getTime(); } -- cgit v1.2.3