magicui
magicui copied to clipboard
Update particles-demo.tsx
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 is attempting to deploy a commit to the product-studio Team on Vercel.
A member of the Team first needs to authorize it.
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.