Fix typo in content type check

This commit is contained in:
Jackson Harper 2023-04-18 11:22:44 +08:00
parent a6dbe3ab5a
commit 3c12162866

View file

@ -11,7 +11,7 @@ export const shouldSynthesize = async (
page: Page
): Promise<boolean> => {
if (
contentReaderForPageType(page.pageType) === ContentReader.Web ||
contentReaderForPageType(page.pageType) !== ContentReader.Web ||
!page.content
) {
// we don't synthesize files for now