I have this Jetstream Laravel application, which has a presence channel set up for chat features.
What's happening is:
When I join the channel and send a message there, everything works fine, except when I try to exit the channel. In every navigation link, the error Uncaught DOMException: Failed to execute 'replaceState' on 'History': #<Object>
could not be cloned. is triggered.
Not sure what is causing it...
Curious Fact:
When I join the channel, and leave it, without sending any message, it works as expected. I visit the page that I was supposed to visit, without any error.