Fix React error #130 and backend event creation
Frontend fixes: - Disable verbatimModuleSyntax in TypeScript config to fix module imports - Add displayName to critical React components for better production debugging - Configure Vite build with manual chunks for better code splitting - Enable sourcemaps for production debugging Backend fixes: - Remove updated_at field from events table insert (column doesn't exist) - Fix SQL error that was causing 500 errors on event creation These changes resolve: - React error #130 that occurred during login and event creation - 500 Internal Server Error when creating new events - Better error tracking in production builds 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -78,8 +78,7 @@ router.post('/', adminAuth, [
|
||||
color_theme,
|
||||
share_link: shareLink,
|
||||
expires_at,
|
||||
created_at: new Date(),
|
||||
updated_at: new Date()
|
||||
created_at: new Date()
|
||||
});
|
||||
|
||||
// Log activity
|
||||
|
||||
Reference in New Issue
Block a user