I was following the video and coding it on my side and at about 1:50:00 (Routing section for profile and post views), i noticed that the loader was still there after a few seconds/minutes.
I then noticed that posts weren't fetched anymore.
When i console.log(api.posts.getAll.useQuery()), the request seems to be paused instantly. ({..., isFetching: false, ..., isPaused: true})
I really don't know what's going on, i tried several things such as recreating the database or removing some codes to where it was working fine, i restarted the server and everything but nothing work.
The database seems ok, i can see my records in prisma studio, and i don't see anything special in clerk.
The only thing i did which might have cause bugs was to close my laptop with everything opened and then reopened it the next morning.
Do you have any idea of what can cause that ?
I was following the video and coding it on my side and at about 1:50:00 (Routing section for profile and post views), i noticed that the loader was still there after a few seconds/minutes. I then noticed that posts weren't fetched anymore. When i console.log(api.posts.getAll.useQuery()), the request seems to be paused instantly. (
{..., isFetching: false, ..., isPaused: true}
) I really don't know what's going on, i tried several things such as recreating the database or removing some codes to where it was working fine, i restarted the server and everything but nothing work. The database seems ok, i can see my records in prisma studio, and i don't see anything special in clerk. The only thing i did which might have cause bugs was to close my laptop with everything opened and then reopened it the next morning. Do you have any idea of what can cause that ?