No description
Find a file
counterweight b900b52b3c
Fix infinite loop in booking page availability fetching
- Memoized dates array using useMemo to prevent recreation on every render
- Removed dates from useEffect dependency array since it's now stable
- Prevents cascade of API requests when opening booking page
- Dates only recalculate when minAdvanceDays or maxAdvanceDays change
2025-12-21 18:15:57 +01:00
.cursor/rules docs and tools 2025-12-20 23:09:46 +01:00
.githooks docs and tools 2025-12-20 23:09:46 +01:00
backend Fix test assertion for updated error message 2025-12-21 18:06:50 +01:00
frontend Fix infinite loop in booking page availability fetching 2025-12-21 18:15:57 +01:00
scripts implemented 2025-12-20 23:06:05 +01:00
shared Phase 0: Add booking permissions and constants 2025-12-20 23:30:08 +01:00
.env.example tests passing 2025-12-18 23:33:32 +01:00
.envrc seed user 2025-12-18 22:42:32 +01:00
.gitignore Fix: useCallback dependency array in availability page 2025-12-21 17:32:55 +01:00
docker-compose.yml tests passing 2025-12-18 22:08:31 +01:00
Makefile docs and tools 2025-12-20 23:09:46 +01:00