Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"mkdirp": "3.0.1",
"mocha-junit-reporter": "2.2.1",
"npm-run-all2": "8.0.4",
"prettier": "3.6.2",
"prettier": "3.8.1",
"puppeteer": "24.22.3",
"retry": "0.13.1",
"start-server-nestjs-webpack-plugin": "2.2.5",
Expand Down
20 changes: 10 additions & 10 deletions src/app/pages/ArticlePage/ArticlePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const ArticlePage = ({ pageData }: { pageData: Article }) => {

const showPortraitVideoCarousel = Boolean(
pageData?.portraitVideoItems?.portraitVideo?.blocks?.length &&
articlePortraitVideoEnabled,
articlePortraitVideoEnabled,
);

const portraitVideoCarouselTitle =
Expand All @@ -342,10 +342,10 @@ const ArticlePage = ({ pageData }: { pageData: Article }) => {

const showContinueReadingButton = Boolean(
!isAmp &&
!isLite &&
!isApp &&
hasContinueReadingBlock &&
continueReadingButtonToggle,
!isLite &&
!isApp &&
hasContinueReadingBlock &&
continueReadingButtonToggle,
);

const componentsToRender = {
Expand Down Expand Up @@ -419,11 +419,11 @@ const ArticlePage = ({ pageData }: { pageData: Article }) => {
// show media curation only when the user is in adaptive variation
const showAdaptiveMediaCuration = Boolean(
!isAmp &&
!isLite &&
!isApp &&
!isPGL &&
isAdaptiveTimeOfDayVariant &&
mediaCurationContent?.summaries?.length,
!isLite &&
!isApp &&
!isPGL &&
isAdaptiveTimeOfDayVariant &&
mediaCurationContent?.summaries?.length,
);

// EXPERIMENT: PWA Promotional Banner
Expand Down
13 changes: 2 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16029,16 +16029,7 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:3.6.2":
version: 3.6.2
resolution: "prettier@npm:3.6.2"
bin:
prettier: bin/prettier.cjs
checksum: 10/1213691706bcef1371d16ef72773c8111106c3533b660b1cc8ec158bd109cdf1462804125f87f981f23c4a3dba053b6efafda30ab0114cc5b4a725606bb9ff26
languageName: node
linkType: hard

"prettier@npm:^3.7.1":
"prettier@npm:3.8.1, prettier@npm:^3.7.1":
version: 3.8.1
resolution: "prettier@npm:3.8.1"
bin:
Expand Down Expand Up @@ -17744,7 +17735,7 @@ __metadata:
morgan: "npm:1.10.1"
npm-run-all2: "npm:8.0.4"
polyfill-crypto.getrandomvalues: "npm:1.0.0"
prettier: "npm:3.6.2"
prettier: "npm:3.8.1"
puppeteer: "npm:24.22.3"
ramda: "npm:0.32.0"
react: "npm:19.2.4"
Expand Down
Loading