Prettier
This commit is contained in:
parent
ae1d1d735e
commit
8b6abd6379
|
@ -361,7 +361,10 @@ export async function getStaticProps(
|
|||
language_code: context.locale ?? "en",
|
||||
});
|
||||
|
||||
if (!content.contents || !content.contents.data[0]?.attributes?.translations) {
|
||||
if (
|
||||
!content.contents ||
|
||||
!content.contents.data[0]?.attributes?.translations
|
||||
) {
|
||||
return { notFound: true };
|
||||
}
|
||||
const props: Props = {
|
||||
|
|
Loading…
Reference in New Issue