the-tip-top-frontend/app/employe
soufiane 34474cc275 fix: use API_BASE_URL constant instead of direct env access
Replace all instances of process.env.NEXT_PUBLIC_API_URL with
API_BASE_URL constant for consistency and to ensure the API URL
is properly defined at runtime.

Files updated:
- app/admin/marketing-data/page.tsx
- app/admin/tirages/page.tsx
- app/employe/dashboard/page.tsx
- app/employe/gains-client/page.tsx
- app/employe/historique/page.tsx
- components/admin/TicketManagement.tsx

This fixes the "undefined" API URL issue that was preventing
API calls from working correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 15:07:49 +01:00
..
dashboard fix: use API_BASE_URL constant instead of direct env access 2025-11-18 15:07:49 +01:00
gains-client fix: use API_BASE_URL constant instead of direct env access 2025-11-18 15:07:49 +01:00
historique fix: use API_BASE_URL constant instead of direct env access 2025-11-18 15:07:49 +01:00
verification fix: remove all snake_case property accesses in modal section 2025-11-18 00:58:56 +01:00
layout.tsx fix: remove invalid lowercase employee role comparisons 2025-11-18 00:34:50 +01:00
page.tsx dev 2025-11-17 23:38:02 +01:00