#Element type is invalid

1 messages · Page 1 of 1 (latest)

worldly loom
#

hi when I use Badge in the EcommerceMetrics I get the this error =>Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `EcommerceMetrics`.,EcommerceMetrics this likeEcommerceMetrics=>import { Badge } from "../ui/badge"; export const EcommerceMetrics = () => { ,Badge this like export const Badge: React.FC<BadgeProps> = ({ variant = "light", color = "primary", size = "md", startIcon, endIcon, children, }) => { my folder like in the photo .

main kestrelBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

worldly loom