Skip to content

Commit 281cda4

Browse files
committed
lint
1 parent 7ffb01f commit 281cda4

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

dotcom-rendering/src/components/ExpandableAtom/Footer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const footerStyling = (storylinesStyle?: boolean) => css`
88
font-size: 13px;
99
line-height: 16px;
1010
display: flex;
11-
{!${storylinesStyle} && justify-content: flex-end;}
11+
!${storylinesStyle} {
12+
justify-content: flex-end;
13+
}
1214
`;
1315

1416
// Currently no thumb icon in src-icons so a path is needed

dotcom-rendering/src/components/StorylinesSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import { submitComponentEvent } from '../client/ophan/ophan';
1111
import { type EditionId, isNetworkFront } from '../lib/edition';
1212
import { palette as schemePalette } from '../palette';
1313
import type { DCRContainerLevel, DCRContainerPalette } from '../types/front';
14+
import type { TagPagePagination } from '../types/tagPage';
1415
import { ContainerOverrides } from './ContainerOverrides';
1516
import { ContainerTitle } from './ContainerTitle';
1617
import { Footer } from './ExpandableAtom/Footer';
18+
import { FrontPagination } from './FrontPagination';
1719
import { FrontSectionTitle } from './FrontSectionTitle';
1820
import { ShowHideButton } from './ShowHideButton';
19-
import { FrontPagination } from './FrontPagination';
20-
import { TagPagePagination } from '../types/tagPage';
2121

2222
type Props = {
2323
/** This text will be used as the h2 shown in the left column for the section */

dotcom-rendering/src/components/StorylinesSectionContent.importable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import type { EditionId } from '../lib/edition';
1616
import { parseStorylinesContentToStorylines } from '../model/enhanceTagPageStorylinesContent';
1717
import { palette } from '../palette';
1818
import type { StorylinesContent } from '../types/storylinesContent';
19+
import type { TagPagePagination } from '../types/tagPage';
20+
import { Footer } from './ExpandableAtom/Footer';
1921
import { FlexibleGeneral } from './FlexibleGeneral';
2022
import { ScrollableCarousel } from './ScrollableCarousel';
2123
import { StorylinesSection } from './StorylinesSection';
22-
import { TagPagePagination } from '../types/tagPage';
23-
import { Footer } from './ExpandableAtom/Footer';
2424

2525
type StorylinesSectionProps = {
2626
url?: string;

dotcom-rendering/src/layouts/TagPageLayout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ export const TagPageLayout = ({ tagPage, NAV }: Props) => {
159159
tagPage.pagination
160160
) {
161161
return tagPage.pagination;
162-
} else return undefined;
162+
} else {
163+
return undefined;
164+
}
163165
};
164166

165167
return (

0 commit comments

Comments
 (0)