From dcd2a7ab382fece8e0ae2979aad4a180b6a105e1 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 16 Nov 2023 18:16:09 +0100
Subject: build(components, hooks): fix type errors introduced by deps upgrade

Since #7e37f2b Typescript was complaining about some types.
---
 src/components/molecules/card/card.stories.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'src/components/molecules/card/card.stories.tsx')

diff --git a/src/components/molecules/card/card.stories.tsx b/src/components/molecules/card/card.stories.tsx
index 74f426c..bc9cbd4 100644
--- a/src/components/molecules/card/card.stories.tsx
+++ b/src/components/molecules/card/card.stories.tsx
@@ -1,4 +1,4 @@
-import type { ComponentMeta, ComponentStory } from '@storybook/react';
+import type { ComponentMeta, Story } from '@storybook/react';
 import NextImage from 'next/image';
 import { Button, ButtonLink, Link, Time } from '../../atoms';
 import { Card, type CardProps } from './card';
@@ -19,7 +19,9 @@ export default {
   argTypes: {},
 } as ComponentMeta<typeof Card>;
 
-const Template: ComponentStory<typeof Card> = <T extends string | undefined>(
+const Template: Story<CardProps<string | undefined>> = <
+  T extends string | undefined,
+>(
   args: CardProps<T>
 ) => <Card {...args} />;
 
-- 
cgit v1.2.3

