From 7d00c50b2fc9147b15aa9b3ac8ffaf1122b82650 Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Wed, 23 Apr 2025 13:25:47 +0200 Subject: [PATCH] style: Update PageLinkProps dir property to be required --- app/components/PrevNextLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/PrevNextLinks.tsx b/app/components/PrevNextLinks.tsx index 93b4f50..9a03b3a 100644 --- a/app/components/PrevNextLinks.tsx +++ b/app/components/PrevNextLinks.tsx @@ -18,7 +18,7 @@ function ArrowIcon(props: JSX.IntrinsicElements["svg"]) { type PageLinkProps = Omit & { title: string; href: string; - dir?: "previous" | "next"; + dir: "previous" | "next"; }; function PageLink(props: PageLinkProps) {