.client.tsx modules return undefined on the server, but lazy() still tries to resolve them during SSR causing "Element type is invalid". Replace lazy()+Suspense with a ClientMap component that dynamically imports the map only in useEffect (client-side only). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ClientDate.tsx | ||
| ClientMap.tsx | ||
| LocaleContext.tsx | ||
| RouteMapThumbnail.client.tsx | ||