From 5d3444b76b2f3d0c47d1c59bd232bb7a6bce6b8c Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Sat, 16 Nov 2024 10:16:40 -0500 Subject: [PATCH] chore: strict assertion --- components/Author/AuthorPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Author/AuthorPage.tsx b/components/Author/AuthorPage.tsx index 7f2c7c09f..ca23498a2 100644 --- a/components/Author/AuthorPage.tsx +++ b/components/Author/AuthorPage.tsx @@ -23,7 +23,9 @@ const AuthorCard: React.FC<{ author: AuthorMetadata }> = ({ author }) => { setIsClient(true) }, []) - const socialsEntries = Object.entries(author.socials ?? {}).filter(([, value]) => !!value) + const socialsEntries = Object.entries(author.socials ?? {}).filter( + ([, value]) => !!value, + ) as unknown as [string, string][] return (