mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-23 12:45:47 +00:00
fix
This commit is contained in:
@@ -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])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user