Commit
Refactor loader to use clientLoader for environment variable configuration
Commit details
Commit notes
- Rename the existing loader function to clientLoader to better reflect its purpose in passing environment variables for client-side rendering. - Update the usage of useLoaderData in the App component to align with the new clientLoader, enhancing clarity and consistency in the codebase.
This change improves the structure of the application and prepares it for better client-side functionality.
- Files changed
- 1
- Lines added
- +4
- Lines removed
- −5