lib/utils.ts
if you're using Next.js 15 and React 19, you'll need to the following changes in order to use framer motion (which is now motion), since framer motion is not compatible with React 19 yet.
if you're using motion instead of framer-motion, you can make the following changes: