aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/index.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-19 15:47:08 +0200
committerArmand Philippot <git@armandphilippot.com>2023-09-19 19:16:58 +0200
commit03331c44276ec56e9f235e4d5ee75030455a753f (patch)
treeb9248a7db3090e02bf38fe573f2ea973ed8a1561 /src/pages/index.tsx
parent2faf2e34331703b3bdea3eb487cb8799c8d65377 (diff)
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
Diffstat (limited to 'src/pages/index.tsx')
-rw-r--r--src/pages/index.tsx16
1 files changed, 8 insertions, 8 deletions
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();