Skip to content

Commit

Permalink
fix import errors following #12461 and #12566
Browse files Browse the repository at this point in the history
  • Loading branch information
rebecca-thompson authored and simonbyford committed Dec 11, 2024
1 parent 4e78c4b commit f487488
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
13 changes: 6 additions & 7 deletions dotcom-rendering/src/components/MultiByline.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import {
ArticleDesign,
ArticleDisplay,
ArticleSpecial,
Pillar,
} from '@guardian/libs';
import { ArticleDisplay, ArticleSpecial, Pillar } from '@guardian/libs';
import type { Meta, StoryObj } from '@storybook/react';
import { centreColumnDecorator } from '../../.storybook/decorators/gridDecorators';
import { allModes } from '../../.storybook/modes';
import { images } from '../../fixtures/generated/images';
import { getAllDesigns, getAllThemes } from '../lib/format';
import {
ArticleDesign,
getAllDesigns,
getAllThemes,
} from '../lib/articleFormat';
import { RenderArticleElement } from '../lib/renderElement';
import type { TextBlockElement } from '../types/content';
import { MultiByline } from './MultiByline';
Expand Down
2 changes: 1 addition & 1 deletion dotcom-rendering/src/components/MultiByline.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { css } from '@emotion/react';
import type { ArticleFormat } from '@guardian/libs';
import { palette } from '@guardian/source/foundations';
import type { ArticleFormat } from '../lib/articleFormat';
import type { EditionId } from '../lib/edition';
import type { ArticleElementRenderer } from '../lib/renderElement';
import type { ServerSideTests, Switches } from '../types/config';
Expand Down
12 changes: 6 additions & 6 deletions dotcom-rendering/src/components/MultiBylineItem.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import { css } from '@emotion/react';
import {
ArticleDesign,
ArticleDisplay,
type ArticleFormat,
ArticleSpecial,
} from '@guardian/libs';
import {
from,
headlineLightItalic24,
Expand All @@ -21,6 +15,12 @@ import {
textSansItalic17,
} from '@guardian/source/foundations';
import sanitise from 'sanitize-html';
import {
ArticleDesign,
ArticleDisplay,
type ArticleFormat,
ArticleSpecial,
} from '../lib/articleFormat';
import { slugify } from '../model/enhance-H2s';
import { palette } from '../palette';
import type { MultiBylineItem as MultiBylineItemModel } from '../types/content';
Expand Down

0 comments on commit f487488

Please sign in to comment.