diff --git a/packages/js/email-editor/src/components/template-select/select-modal.tsx b/packages/js/email-editor/src/components/template-select/select-modal.tsx index 58fdbaa9ef..0a484a010a 100644 --- a/packages/js/email-editor/src/components/template-select/select-modal.tsx +++ b/packages/js/email-editor/src/components/template-select/select-modal.tsx @@ -59,7 +59,7 @@ function SelectTemplateBody( { setSelectedCategory( TemplateCategories[ 0 ].name ); } }, 1000 ); // using setTimeout to ensure the template styles are available before block preview - }, [ hasEmailPosts ] ); + }, [ hasEmailPosts, hideRecentCategory ] ); return (