From f8930dc4574587b0fc38ade46d554471aacba1d0 Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Tue, 23 Jul 2024 21:06:21 +0200 Subject: [PATCH] fix build --- src/pages/authors/index.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/authors/index.astro b/src/pages/authors/index.astro index aa68b9e..1c76439 100644 --- a/src/pages/authors/index.astro +++ b/src/pages/authors/index.astro @@ -3,9 +3,9 @@ import { getCollection } from "astro:content"; import NobbzDev from "../../layouts/NobbzDev.astro"; import { authorPath } from "../../scripts/paths"; -import { withPosts, type AuthorWithPosts } from "../../scripts/authors"; +import { withPosts, type WithPosts, type Author } from "../../scripts/authors"; -const authorSorter = (a: AuthorWithPosts, b: AuthorWithPosts): number => { +const authorSorter = (a: WithPosts, b: WithPosts): number => { const postCountA = a.posts.length; const postCountB = b.posts.length; return postCountA - postCountB; -- 2.51.2