diff --git a/plugins/scaffolder/src/components/ScaffolderPage/ScaffolderPage.tsx b/plugins/scaffolder/src/components/ScaffolderPage/ScaffolderPage.tsx
index 4462c333b1..e4ebc75b2e 100644
--- a/plugins/scaffolder/src/components/ScaffolderPage/ScaffolderPage.tsx
+++ b/plugins/scaffolder/src/components/ScaffolderPage/ScaffolderPage.tsx
@@ -156,7 +156,6 @@ export const ScaffolderPageContents = () => {
-
{loading &&
}
{error && (
@@ -165,14 +164,18 @@ export const ScaffolderPageContents = () => {
)}
- {!error && !loading && matchingEntities && !matchingEntities.length && (
-
- No templates found that match your filter. Learn more about{' '}
-
- adding templates
- .
-
- )}
+ {!error &&
+ !loading &&
+ matchingEntities &&
+ !matchingEntities.length && (
+
+ No templates found that match your filter. Learn more about{' '}
+
+ adding templates
+
+ .
+
+ )}
{matchingEntities &&