diff --git a/server/src/components/routes.ts b/server/src/components/routes.ts index b1854d632..970ea812d 100644 --- a/server/src/components/routes.ts +++ b/server/src/components/routes.ts @@ -95,11 +95,13 @@ export function createComponentRoutes( >; if ( typeof name !== "string" || - !name || + !name.trim() || typeof title !== "string" || + !title.trim() || typeof kind !== "string" || + !kind.trim() || typeof description !== "string" || - !description + !description.trim() ) { return []; }