mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 21:56:08 +00:00
claude/fix-empty-preset-code-s3ekP
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
shadcn/ui
A set of beautifully designed components that you can customize, extend, and build on. Start here then make it your own. Open Source. Open Code. Use this to build your own component library.
Documentation
Visit https://ui.shadcn.com/docs to view the documentation.
Contributing
Please read the contributing guide.
License
Licensed under the MIT license.
Description
Languages
TypeScript
90.1%
MDX
6.5%
CSS
3.3%
