From 38462b05f2975d6b2fcc041a319315789f340df7 Mon Sep 17 00:00:00 2001 From: Scott Aubrey Date: Fri, 25 Oct 2024 16:59:28 +0100 Subject: [PATCH] remove unnecessary i18n import --- src/components/atoms/assessment/assessment.stories.tsx | 1 - src/components/atoms/review-content/review-content.stories.tsx | 1 - src/components/atoms/review-process/review-process.stories.tsx | 1 - src/components/atoms/socials/socials.stories.tsx | 1 - .../molecules/article-status/article-status.stories.tsx | 1 - src/components/molecules/timeline/timeline.stories.tsx | 1 - src/components/pages/article/article-page.stories.tsx | 1 - 7 files changed, 7 deletions(-) diff --git a/src/components/atoms/assessment/assessment.stories.tsx b/src/components/atoms/assessment/assessment.stories.tsx index a1b9202a4..772adce0d 100644 --- a/src/components/atoms/assessment/assessment.stories.tsx +++ b/src/components/atoms/assessment/assessment.stories.tsx @@ -1,7 +1,6 @@ import { Meta, StoryObj } from '@storybook/react'; import { within, userEvent, expect } from '@storybook/test'; import { Assessment } from './assessment'; -import '../../../i18n'; const meta: Meta = { title: 'Atoms/Assessment', diff --git a/src/components/atoms/review-content/review-content.stories.tsx b/src/components/atoms/review-content/review-content.stories.tsx index cb3bb43e7..9e6b76c9b 100644 --- a/src/components/atoms/review-content/review-content.stories.tsx +++ b/src/components/atoms/review-content/review-content.stories.tsx @@ -1,6 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; import { ReviewContent } from './review-content'; -import '../../../i18n'; const meta: Meta = { title: 'Atoms/Review Content', diff --git a/src/components/atoms/review-process/review-process.stories.tsx b/src/components/atoms/review-process/review-process.stories.tsx index 4d805b6ca..45e8013e5 100644 --- a/src/components/atoms/review-process/review-process.stories.tsx +++ b/src/components/atoms/review-process/review-process.stories.tsx @@ -1,6 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; import { ReviewProcess } from './review-process'; -import '../../../i18n'; const meta: Meta = { title: 'Atoms/Review Process', diff --git a/src/components/atoms/socials/socials.stories.tsx b/src/components/atoms/socials/socials.stories.tsx index 0e452ba0a..6d0d40228 100644 --- a/src/components/atoms/socials/socials.stories.tsx +++ b/src/components/atoms/socials/socials.stories.tsx @@ -1,6 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; import { Socials } from './socials'; -import '../../../i18n'; const meta: Meta = { title: 'Atoms/Socials', diff --git a/src/components/molecules/article-status/article-status.stories.tsx b/src/components/molecules/article-status/article-status.stories.tsx index 3da6d337a..aeda85a97 100644 --- a/src/components/molecules/article-status/article-status.stories.tsx +++ b/src/components/molecules/article-status/article-status.stories.tsx @@ -1,7 +1,6 @@ import { Meta, StoryObj } from '@storybook/react'; import { citation, metrics } from '../../../utils/mocks'; import { ArticleStatus } from './article-status'; -import '../../../i18n'; const meta: Meta = { title: 'Molecules/ArticleStatus', diff --git a/src/components/molecules/timeline/timeline.stories.tsx b/src/components/molecules/timeline/timeline.stories.tsx index 50a15fbae..267973c01 100644 --- a/src/components/molecules/timeline/timeline.stories.tsx +++ b/src/components/molecules/timeline/timeline.stories.tsx @@ -1,7 +1,6 @@ import { Meta, StoryObj } from '@storybook/react'; import { expect, userEvent, within } from '@storybook/test'; import { Timeline } from './timeline'; -import '../../../i18n'; const meta: Meta = { title: 'Molecules/Timeline', diff --git a/src/components/pages/article/article-page.stories.tsx b/src/components/pages/article/article-page.stories.tsx index f6084726e..cc36189dd 100644 --- a/src/components/pages/article/article-page.stories.tsx +++ b/src/components/pages/article/article-page.stories.tsx @@ -7,7 +7,6 @@ import { ArticlePage } from './article-page'; import { ArticleFullTextTab, ArticleFiguresTab, ArticleReviewsTab } from './tabs'; import { ErrorMessages } from '../../atoms/error-messages/error-messages'; import { contentToHeadings, contentToJsx } from '../../../utils/content'; -import '../../../i18n'; const meta: Meta = { title: 'Pages/Article Page',