Skip to content

Commit 35f9645

Browse files
committed
log fetchEmail to test lib response
1 parent 906b0f2 commit 35f9645

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dotcom-rendering/src/components/StickyBottomBanner/ReaderRevenueBanner.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,14 @@ export const ReaderRevenueBanner = ({
325325
});
326326
}, [name]);
327327

328+
// Safe log of props once available
329+
useEffect(() => {
330+
console.log('🚀 RR Banner props:', props);
331+
}, [props]);
332+
useEffect(() => {
333+
console.log('🚀 RR Banner props email:', props.fetchEmail);
334+
}, [props]);
335+
328336
if (Banner !== null) {
329337
return (
330338
// The css here is necessary to put the container div in view, so that we can track the view

0 commit comments

Comments
 (0)