Skip to content

Commit 69105a8

Browse files
committed
Bug 1838478 - Remove topics from STP r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D180966
1 parent 4e3d9cb commit 69105a8

File tree

2 files changed

+1
-44
lines changed

2 files changed

+1
-44
lines changed

browser/components/pocket/content/panels/js/home/overlay.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,6 @@ HomeOverlay.prototype = {
3737
utmSource={utmSource}
3838
utmCampaign={utmCampaign}
3939
utmContent={utmContent}
40-
topics={[
41-
{ title: "Technology", topic: "technology" },
42-
{ title: "Self Improvement", topic: "self-improvement" },
43-
{ title: "Food", topic: "food" },
44-
{ title: "Parenting", topic: "parenting" },
45-
{ title: "Science", topic: "science" },
46-
{ title: "Entertainment", topic: "entertainment" },
47-
{ title: "Career", topic: "career" },
48-
{ title: "Health", topic: "health" },
49-
{ title: "Travel", topic: "travel" },
50-
{ title: "Must-Reads", topic: "must-reads" },
51-
]}
5240
/>,
5341
document.querySelector(`body`)
5442
);

browser/components/pocket/content/panels/js/main.bundle.js

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -429,38 +429,7 @@ HomeOverlay.prototype = {
429429
pockethost: pockethost,
430430
utmSource: utmSource,
431431
utmCampaign: utmCampaign,
432-
utmContent: utmContent,
433-
topics: [{
434-
title: "Technology",
435-
topic: "technology"
436-
}, {
437-
title: "Self Improvement",
438-
topic: "self-improvement"
439-
}, {
440-
title: "Food",
441-
topic: "food"
442-
}, {
443-
title: "Parenting",
444-
topic: "parenting"
445-
}, {
446-
title: "Science",
447-
topic: "science"
448-
}, {
449-
title: "Entertainment",
450-
topic: "entertainment"
451-
}, {
452-
title: "Career",
453-
topic: "career"
454-
}, {
455-
title: "Health",
456-
topic: "health"
457-
}, {
458-
title: "Travel",
459-
topic: "travel"
460-
}, {
461-
title: "Must-Reads",
462-
topic: "must-reads"
463-
}]
432+
utmContent: utmContent
464433
}), document.querySelector(`body`));
465434

466435
if (window?.matchMedia(`(prefers-color-scheme: dark)`).matches) {

0 commit comments

Comments
 (0)