File tree Expand file tree Collapse file tree 2 files changed +0
-35
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +0
-35
lines changed Original file line number Diff line number Diff 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-
4429const AffiliateDisclaimer = ( ) => {
4530 useAffiliateDisclaimerEvent ( ) ;
4631 return (
Original file line number Diff line number Diff line change 11import { css } from '@emotion/react' ;
22import { space , textSans14 } from '@guardian/source/foundations' ;
33import { Hide } from '@guardian/source/react-components' ;
4- // import { useEffect } from 'react';
5- // import { submitComponentEvent } from '../client/ophan/ophan';
64import { useAffiliateDisclaimerEvent } from '../lib/affiliateDisclaimerHelpers' ;
75import { 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-
6444const AffiliateDisclaimerInline = ( ) => {
6545 useAffiliateDisclaimerEvent ( ) ;
6646 return (
You can’t perform that action at this time.
0 commit comments