From 947830904239d51ec9e94971fed6346c1089911f Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 23 Jan 2023 19:01:28 +0100
Subject: chore: make Links and Images compliant with Next.js 13

---
 src/pages/mentions-legales.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/pages/mentions-legales.tsx')

diff --git a/src/pages/mentions-legales.tsx b/src/pages/mentions-legales.tsx
index a58a850..413f409 100644
--- a/src/pages/mentions-legales.tsx
+++ b/src/pages/mentions-legales.tsx
@@ -42,8 +42,8 @@ const LegalNoticePage: NextPageWithLayout = () => {
   };
 
   const components: NestedMDXComponents = {
-    Image: (props) => <ResponsiveImage {...props} />,
-    Link: (props) => <Link {...props} />,
+    Image: ResponsiveImage,
+    Link: Link,
   };
 
   const { website } = useSettings();
-- 
cgit v1.2.3

