Skip to content

Commit 1a13bb9

Browse files
committed
Fix noticias page in brazil
1 parent fecb238 commit 1a13bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/sanity/helpers/queryFromSlug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const getQuery = async (
2727
if (!firstPiece || typeof firstPiece === 'undefined' || firstPiece === '') {
2828
return homePageQuery
2929
}
30-
if (Flags.HAS_NEWS && newsSlug[lang] === firstPiece) {
30+
if (Flags.HAS_NEWSROOM && newsSlug[lang] === firstPiece) {
3131
if (
3232
!secondPiece ||
3333
typeof secondPiece === 'undefined' ||

0 commit comments

Comments
 (0)