diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts index 5b58c0d202..9a7ec0b932 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts @@ -505,9 +505,7 @@ export const useSlashCommandProcessor = ( const props = result.props as Record; if ( !props || - typeof props['name'] !== 'string' || - typeof props['displayName'] !== 'string' || !props['definition'] ) {