From 03331c44276ec56e9f235e4d5ee75030455a753f Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 19 Sep 2023 15:47:08 +0200
Subject: build(deps): bump all dependencies

* MDX type has changed so some components props had to be updated
* Since Storybook now supports TS, I renamed the main/preview files
---
 src/pages/index.tsx | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'src/pages/index.tsx')

diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 0738805..291d011 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,4 +1,4 @@
-import { NestedMDXComponents } from 'mdx/types';
+import { MDXComponents } from 'mdx/types';
 import { GetStaticProps } from 'next';
 import Head from 'next/head';
 import Script from 'next/script';
@@ -282,17 +282,17 @@ const HomePage: NextPageWithLayout<HomeProps> = ({ recentPosts }) => {
     );
   };
 
-  const components: NestedMDXComponents = {
-    CodingLinks: CodingLinks,
-    ColdarkRepos: ColdarkRepos,
-    Column: Column,
+  const components: MDXComponents = {
+    CodingLinks,
+    ColdarkRepos,
+    Column,
     Columns: StyledColumns,
     Image: ResponsiveImage,
-    LibreLinks: LibreLinks,
-    MoreLinks: MoreLinks,
+    LibreLinks,
+    MoreLinks,
     RecentPosts: getRecentPosts,
     Section: getSection,
-    ShaarliLink: ShaarliLink,
+    ShaarliLink,
   };
 
   const { website } = useSettings();
-- 
cgit v1.2.3

