Skip to content

Commit 38f1c84

Browse files
author
George Haberis
committed
remove comments
1 parent c924546 commit 38f1c84

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ const DisclaimerText = () => (
2626
</p>
2727
);
2828

29-
// const useAffiliateDisclaimerEvent = () => {
30-
// useEffect(() => {
31-
// console.log('*** useAffiliateDisclaimerEvent AffiliateDisclaimer ***');
32-
// void submitComponentEvent(
33-
// {
34-
// action: 'DETECT',
35-
// component: {
36-
// componentType: 'AFFILIATE_DISCLAIMER',
37-
// },
38-
// },
39-
// 'Web',
40-
// );
41-
// }, []);
42-
// };
43-
4429
const AffiliateDisclaimer = () => {
4530
useAffiliateDisclaimerEvent();
4631
return (

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { css } from '@emotion/react';
22
import { space, textSans14 } from '@guardian/source/foundations';
33
import { Hide } from '@guardian/source/react-components';
4-
// import { useEffect } from 'react';
5-
// import { submitComponentEvent } from '../client/ophan/ophan';
64
import { useAffiliateDisclaimerEvent } from '../lib/affiliateDisclaimerHelpers';
75
import { palette as themePalette } from '../palette';
86

@@ -43,24 +41,6 @@ const DisclaimerText = () => (
4341
</p>
4442
);
4543

46-
// const useAffiliateDisclaimerEvent = () => {
47-
// useEffect(() => {
48-
// console.log(
49-
// '*** useAffiliateDisclaimerEvent AffiliateDisclaimerInline ***',
50-
// );
51-
52-
// void submitComponentEvent(
53-
// {
54-
// action: 'DETECT',
55-
// component: {
56-
// componentType: 'AFFILIATE_DISCLAIMER',
57-
// },
58-
// },
59-
// 'Web',
60-
// );
61-
// }, []);
62-
// };
63-
6444
const AffiliateDisclaimerInline = () => {
6545
useAffiliateDisclaimerEvent();
6646
return (

0 commit comments

Comments
 (0)