We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fecb238 commit 1a13bb9Copy full SHA for 1a13bb9
web/sanity/helpers/queryFromSlug.ts
@@ -27,7 +27,7 @@ const getQuery = async (
27
if (!firstPiece || typeof firstPiece === 'undefined' || firstPiece === '') {
28
return homePageQuery
29
}
30
- if (Flags.HAS_NEWS && newsSlug[lang] === firstPiece) {
+ if (Flags.HAS_NEWSROOM && newsSlug[lang] === firstPiece) {
31
if (
32
!secondPiece ||
33
typeof secondPiece === 'undefined' ||
0 commit comments