Josh Kilov
Josh Kilov

Reputation: 1

Chakra-UI Toast, printing Toast: {count}

I have implemented Chakra-UI toast successfully. I have noticed everytime my toast notification is active, text is displayed on the component 'toast: {count}'. This is in my dev environment.

Is this purely a development thing? I have removed Strict Mode from my react app and the text still renders to the UI:

here Is the code In the child component:

  if (error) {return toaster.create({
    title: "Error",
    description: "Error Loading Games from server.",
    type: "error", 
   })}
    

and I simply render < Toaster /> into my App.tsx. As I said it all seems to be working well its just the text which I get

Can see the text here

I have read through all documentation and online, but have not found anything. I dont expect there to be text printed on my app when the toast renders

Upvotes: 0

Views: 22

Answers (0)

Related Questions