next.js
a2162078 - Removed duplicated cn function declaration from lib dir (#74065)

Commit
1 year ago
Removed duplicated cn function declaration from lib dir (#74065) This pull request removes duplication of a utility function within the `with-supabase` example as mentioned in the following issue #73942 - I removed the duplicated code from the `utils` directory as when shadcn installs a new component, that component will look for the helper function in `lib/utils.ts` and forcing users to update every component after installation or modify any config files for shadcn seems like a worse DX. - Fixes https://github.com/vercel/next.js/issues/73942 --------- Co-authored-by: samcx <sam@vercel.com>
Parents
Loading