I am trying to call the Toast primitive with a button in another component. The toast shows up but after 5-15 seconds an error pops up saying: TypeError: _callbackRef$current.call is not a function
This also shows the toast just fine, but after 5-15 seconds i get this error: TypeError: _callbackRef$current.call is not a function
The only thing I am doing is moving the state stuff to the other component where the button is calling the Toast, but I cant get it working. I'm not sure if it's a bug?
Bug report
Current Behavior
I am trying to call the Toast primitive with a button in another component. The toast shows up but after 5-15 seconds an error pops up saying:
TypeError: _callbackRef$current.call is not a function
Additional context
My code looks like this, nothing special:
MY TEST COMPONENT WHERE I WANT TO CALL THE BUTTON THAT SHOWS THE TOAST
This also shows the toast just fine, but after 5-15 seconds i get this error:
TypeError: _callbackRef$current.call is not a function
The only thing I am doing is moving the state stuff to the other component where the button is calling the Toast, but I cant get it working. I'm not sure if it's a bug?
Your environment