magicui icon indicating copy to clipboard operation
magicui copied to clipboard

Update particles-demo.tsx

Open qamarq opened this issue 1 year ago • 2 comments

I updated theme prop from useTheme hook to resolvedTheme cause of case with system theme. In theme prop in that case will be "system" but in resolvedTheme var will be "dark" or "light"

qamarq avatar Aug 26 '24 21:08 qamarq

@qamarq is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 26 '24 21:08 vercel[bot]

Good catch. But can you give me a small details about how it affects the performance or what it improves?

Literally no affect on performance and its fixing bug when u have theme vairbale setted to 'system' (like default). my solution is fixing that and even if u have system colors mode, its giving dark or light.

qamarq avatar Sep 29 '24 12:09 qamarq