Remove isSidebarOpen from the useEffect dependency array and from the API request parameters in Tasks.tsx. The sidebar visibility state has no bearing on which tasks should be fetched, so toggling it should not trigger a data re-fetch.