Problem with React Router And Apollo GraphQL Client

Hey guys I really need your help. So am having a bit of a challenge with Apollo Client and React Router in my Vite react app. When the page first initially loads everything is perfectly the data is also obtain with no errors. The problems begins when I try to access a different route and returns back to the homepage, the Apollo Client fetches data and returns null data I do not know please if you kindly understand what I am trying to explain below are the website url and my github repo please help me out

Gihub Link
Website Link