diff --git a/packages/shadcn/src/commands/init.ts b/packages/shadcn/src/commands/init.ts index 391074ae5a..eefbe6a597 100644 --- a/packages/shadcn/src/commands/init.ts +++ b/packages/shadcn/src/commands/init.ts @@ -298,11 +298,7 @@ export const init = new Command() } // Warn if the user is switching bases during reinit. - if ( - reinstallComponents.length && - existingConfig?.style && - components.length > 0 - ) { + if (existingConfig?.style && components.length > 0) { warnOnBaseSwitch(existingConfig.style as string, components[0]) }