mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 04:47:45 +01:00
Security fixes: - Add npm override for fast-xml-parser@^5.3.4 to fix RangeError DoS - Update @aws-sdk/client-ses to 3.980.0 - Reduces vulnerabilities from 25 to 8 (fixed 17 high severity) Code improvements (prep for future Next.js 15): - Replace <a> tags with <Link> components for internal navigation - Create ConsultationFormLoader client wrapper for dynamic imports - Use direct Analytics import instead of dynamic with ssr:false - Add eslint-disable for global-error.tsx (intentional <a> usage) Remaining vulnerabilities (require breaking changes): - 7 moderate: eslint circular reference stack overflow - 1 high: Next.js DoS (specific conditions, low practical risk) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
'use client';
|
|
|
|
import dynamic from 'next/dynamic';
|
|
|
|
const ConsultationForm = dynamic(() => import('@/components/ConsultationForm'), {
|
|
loading: () => <div className="min-h-[200px] flex items-center justify-center">Loading...</div>,
|
|
ssr: false,
|
|
});
|
|
|
|
export function ConsultationFormLoader() {
|
|
return <ConsultationForm />;
|
|
}
|