Skip to content

Commit 2a0f036

Browse files
Copiloteagerterrier
andcommitted
Remove unused emotion styles files and fix React import issues [copilot]
Co-authored-by: eagerterrier <91352+eagerterrier@users.noreply.github.com>
1 parent 441d5a7 commit 2a0f036

270 files changed

Lines changed: 67 additions & 1133 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/app/components/ATIAnalytics/amp/index.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable no-template-curly-in-string */
2-
import React from 'react';
32
import { render } from '../../react-testing-library-with-providers';
43
import AmpATIAnalytics from '.';
54
import { ReverbBeaconConfig } from '../types';

src/app/components/ATIAnalytics/canonical/index.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { Helmet } from 'react-helmet';
32
import {
43
render,

src/app/components/ATIAnalytics/canonical/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { use, useEffect, useState } from 'react';
1+
import { use, useEffect, useState } from 'react';
22
import { getEnvConfig } from '#app/lib/utilities/getEnvConfig';
33
import { RequestContext } from '#app/contexts/RequestContext';
44
import isOperaProxy from '#app/lib/utilities/isOperaProxy';

src/app/components/ATIAnalytics/index.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable no-template-curly-in-string */
2-
import React from 'react';
32
import { articleDataNews } from '#pages/ArticlePage/fixtureData';
43
import styUkrainianAssetData from '#data/ukrainian/cpsAssets/news-53561143.json';
54
import styUkrainianInRussianAssetData from '#data/ukrainian/cpsAssets/features-russian-53477115.json';

src/app/components/ATIAnalytics/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { use } from 'react';
1+
import { use } from 'react';
22
import { RequestContext } from '#contexts/RequestContext';
33
import { ServiceContext } from '../../contexts/ServiceContext';
44
import CanonicalATIAnalytics from './canonical';

src/app/components/Ad/Amp/AdSlot/index.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { render } from '../../../react-testing-library-with-providers';
32
import AdSlot, { getDataSlot, getAssetType } from '.';
43

src/app/components/Ad/Amp/AdSlot/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import isLive from '#lib/utilities/isLive';
32
import { STORY_PAGE } from '../../../../routes/utils/pageTypes';
43
import { PageTypes, Services } from '../../../../models/types/global';

src/app/components/Ad/Amp/index.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { RequestContextProvider } from '#contexts/RequestContext';
32
import { HOME_PAGE } from '#app/routes/utils/pageTypes';
43
import AmpAd, { AMP_ACCESS_FETCH } from './index';

src/app/components/Ad/Amp/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { use } from 'react';
1+
import { use } from 'react';
22
import { Helmet } from 'react-helmet';
33
import pathOr from 'ramda/src/pathOr';
44
import { RequestContext } from '#contexts/RequestContext';

src/app/components/Ad/Canonical/AdBootstrapJs/index.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import { Helmet } from 'react-helmet';
32
import {
43
render,

0 commit comments

Comments
 (0)