Phase 0: Fix infinite loop in AppSidebar and module settings loading

- Fixed infinite loop by memoizing moduleEnabled with useCallback
- Fixed useEffect dependencies to prevent re-render loops
- Added loading check to prevent duplicate API calls
- Fixed setState calls to only update when values actually change
- Removed unused import (isModuleEnabled from modules.config)
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-16 19:13:12 +00:00
parent ab6b6cc4be
commit f195b6a72a
2 changed files with 33 additions and 21 deletions

Binary file not shown.