query
query copied to clipboard
Fix: Non resolving promises created when query is not enabled
Fixes an issue where extra promises that would never resolve/reject were getting created leading to infinite tab loading issues. The browser tab was forever in a "loading" state even though the actual state was resolved but the promises were still in "pending" mode.
This was the quick fix I could make to fix the issue and have everything still work as intended but I'm not sure if it's entirely correct.