Getting TypeError: segment.replace is not a function

I get this error
TypeError: segment.replace is not a function
what is it?

Hey Dina! Where are you seeing this error?

it just disappeared
but now this error appear after I pull request the project

and the preview not the same in the studio

another issue I need to do dynamic route
https://docs.plasmic.app/learn/dynamic-pages/
I follow this url and done my code with Router but it didn’t get data

Error: Hydration failed because the initial UI does not match what was rendered on the server.
?

@samuel