Skip to content

Commit 12ae7ae

Browse files
committed
Fix
1 parent 7d81b55 commit 12ae7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pages/nyheter/index.global.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const getStaticProps: GetStaticProps = async ({ preview = false, locale =
7575
// This is a hack and and we should improve this at some point
7676
// See https://github.com/vercel/next.js/discussions/18485
7777

78-
if (locale !== 'no' && !Flags.HAS_NEWSROOM) {
78+
if (locale !== 'no' || !Flags.HAS_NEWSROOM) {
7979
return {
8080
notFound: true,
8181
}

0 commit comments

Comments
 (0)