- Update NewPartyClient and PartyPageClient to pass correct props to Party component - Remove SavedHead and ProfileHead usage from client components (incompatible with App Router) - Create debugging wrapper for Party component - Update webpack SVG configuration with safety checks - Add TypeScript declarations for SVG imports - Document all fixes in PRDs These changes address the "Element type is invalid" error by fixing component interfaces and removing Pages Router patterns incompatible with App Router. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
7 lines
168 B
TypeScript
7 lines
168 B
TypeScript
declare module '*.jpg'
|
|
|
|
declare module '*.svg' {
|
|
import React from 'react'
|
|
const SVG: React.FunctionComponent<React.SVGProps<SVGSVGElement>>
|
|
export default SVG
|
|
}
|