mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-26 17:06:59 -05:00
Improve authentication hook and data fetching logic
Fix memory leaks in the authentication hook by correctly clearing timeouts. Address incorrect dependency arrays in effects and improve data fetching reliability by memoizing functions. Refactor error handling in location detection function to return appropriate status codes. Ensure compatibility with Fast Refresh and optimize hook dependencies. Replit-Commit-Author: Agent Replit-Commit-Session-Id: fe5b902e-beda-40fc-bf87-a3c4ab300e3a Replit-Commit-Checkpoint-Type: full_checkpoint
This commit is contained in: