mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 23:55:02 +00:00
Guard against tracking an empty preset value in both /init and /init/v0 routes. When no valid preset code is in the URL, getPresetCode encodes one from the parsed config params. The conditional spread ensures an empty string never reaches analytics. https://claude.ai/code/session_018Mm7WJAaSUGSqamSm3RiyC
This is a wip registry for the shadcn canary version. It has React 19 and Tailwind v4 components.