When you import the routes on the server, the getPayload is an actual function on the component file, so if it exists - we should run it.
on the frontend, you ignored this function at the route object inside the hydration renderer and replaced it with hasPyaload.
When you import the routes on the server, the
getPayload
is an actual function on the component file, so if it exists - we should run it. on the frontend, you ignored this function at the route object inside the hydration renderer and replaced it withhasPyaload
.