This commit is contained in:
shadcn
2026-02-17 22:46:50 +04:00
parent 382a5220e0
commit 1ee480122b

View File

@@ -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])
}