d1a06699e5d6ae9b48ea90e008f0d76200543b4b
- Update getUserProfile, getUserReports, getUserEvents, and getUserActivity to call findOrCreateUser for Clerk IDs - This ensures users are automatically created in database when accessing their profile for the first time - Update User type to have email as 'string | null' instead of 'string' - Fixes 404 errors when new users try to access their profile This resolves the issue where new users signing up without email would get 404 errors when accessing their profile page.
Litter Scouts
Crowdsourced environmental monitoring web application for Irish coastal areas.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.
Description
Languages
TypeScript
98.8%
JavaScript
0.7%
Dockerfile
0.3%
CSS
0.2%