From d1ab5bdef8c761946ed1632c40bad89a76997a37 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 26 Jan 2024 14:11:29 -0500 Subject: [PATCH] Fixed TypeScript errors in Stories --- heat-stack/stories/Button.stories.ts | 2 +- heat-stack/stories/Header.stories.ts | 2 +- heat-stack/stories/Header.tsx | 2 +- heat-stack/stories/Page.stories.ts | 2 +- heat-stack/stories/Page.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/heat-stack/stories/Button.stories.ts b/heat-stack/stories/Button.stories.ts index 742c3aa7..c54b8d7b 100644 --- a/heat-stack/stories/Button.stories.ts +++ b/heat-stack/stories/Button.stories.ts @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from '@storybook/react'; -import { Button } from './Button'; +import { Button } from './Button.tsx'; // More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export const meta = { diff --git a/heat-stack/stories/Header.stories.ts b/heat-stack/stories/Header.stories.ts index 61cf98aa..8e5c3a7a 100644 --- a/heat-stack/stories/Header.stories.ts +++ b/heat-stack/stories/Header.stories.ts @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from '@storybook/react'; -import { Header } from './Header'; +import { Header } from './Header.tsx'; const meta = { title: 'Example/Header', diff --git a/heat-stack/stories/Header.tsx b/heat-stack/stories/Header.tsx index 01504601..1a697843 100644 --- a/heat-stack/stories/Header.tsx +++ b/heat-stack/stories/Header.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { Button } from './Button'; +import { Button } from './Button.tsx'; import './header.css'; type User = { diff --git a/heat-stack/stories/Page.stories.ts b/heat-stack/stories/Page.stories.ts index f7a06817..5bec7290 100644 --- a/heat-stack/stories/Page.stories.ts +++ b/heat-stack/stories/Page.stories.ts @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { within, userEvent, expect } from '@storybook/test'; -import { Page } from './Page'; +import { Page } from './Page.tsx'; const meta = { title: 'Example/Page', diff --git a/heat-stack/stories/Page.tsx b/heat-stack/stories/Page.tsx index e1174830..56db3067 100644 --- a/heat-stack/stories/Page.tsx +++ b/heat-stack/stories/Page.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { Header } from './Header'; +import { Header } from './Header.tsx'; import './page.css'; type User = {