Skip to content

Commit

Permalink
feat(TMRS-482): linting
Browse files Browse the repository at this point in the history
  • Loading branch information
times-tools committed Nov 28, 2024
1 parent 29db9e2 commit b5cf55d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ import {

import { useTrackingContext } from '../../helpers/tracking/TrackingContextProvider';
import {
Article,
getRecommendedArticlesSlice
} from '../../utils/linkedArticles/formatters';

import { Header } from '../../utils/linkedArticles/styles';

interface CategorisedArticlesProps {
heading: string;
articles: Article[];
articles: any;
}
export const CategorisedArticles: React.FC<CategorisedArticlesProps> = (
{ heading, articles }
Expand Down
4 changes: 2 additions & 2 deletions packages/ts-components/src/utils/linkedArticles/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ type SummaryText = { __typename: string; text: string };
type Summary = { __typename: string; children: SummaryText[] };

export type Article = {
__typename?: string;
__typename: string;
url: string;
slug: string;
label: string | null;
label: string;
headline: string;
publishedDateTime: string;
bylines?: Byline[];
Expand Down

0 comments on commit b5cf55d

Please sign in to comment.