79370484

Date: 2025-01-20 06:58:20
Score: 0.5
Natty:
Report link

Every time you use setCurrentBotId it causes a rerender for App component and it recreates a new instance of query client. To fix this, define the query client like below

const [queryClient] = useState(new QueryClient())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: abolfazl shamsollahi