From bb9eff288c272739f285306494f074ce5fe479ee Mon Sep 17 00:00:00 2001 From: Heat Hamilton Date: Tue, 24 Sep 2024 16:45:36 -0400 Subject: [PATCH] Fix 404 error for Sentinel tutorials --- src/pages/[productSlug]/tutorials/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[productSlug]/tutorials/index.tsx b/src/pages/[productSlug]/tutorials/index.tsx index 84e2d0f878..6854353a22 100644 --- a/src/pages/[productSlug]/tutorials/index.tsx +++ b/src/pages/[productSlug]/tutorials/index.tsx @@ -39,7 +39,7 @@ export async function getStaticProps({ */ let props try { - const props = + props = productData.slug == 'hcp' ? await getCloudTutorialsViewProps() : await getProductTutorialsViewProps(productData as LearnProductData)