diff --git a/next.config.js b/next.config.js index 6b1a3e0..bc37f80 100644 --- a/next.config.js +++ b/next.config.js @@ -4,6 +4,10 @@ const withNextPluginPreval = createNextPluginPreval(); /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: false, + // Explicitly allow znjj.wangxin93.eu.org for Dev Origin, per future Next.js requirement. + allowedDevOrigins: [ + "znjj.wangxin93.eu.org", + ], }; module.exports = withNextPluginPreval(nextConfig); diff --git a/src/components/chat/ChatOverlay.tsx b/src/components/chat/ChatOverlay.tsx index 8fc020e..5412687 100644 --- a/src/components/chat/ChatOverlay.tsx +++ b/src/components/chat/ChatOverlay.tsx @@ -11,7 +11,7 @@ export interface ChatOverlayProps { isVisible: boolean; position: { x: number; y: number }; onPositionChange: (position: { x: number; y: number }) => void; - containerRef: React.RefObject; + containerRef: React.RefObject; onToggle: () => void; } diff --git a/src/components/playground/PhoneSimulator.tsx b/src/components/playground/PhoneSimulator.tsx index f8e4932..61f35fa 100644 --- a/src/components/playground/PhoneSimulator.tsx +++ b/src/components/playground/PhoneSimulator.tsx @@ -1179,7 +1179,7 @@ export function PhoneSimulator({