try to fix fast reload
This commit is contained in:
parent
739c019404
commit
f1b331d923
@ -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);
|
||||
|
||||
@ -11,7 +11,7 @@ export interface ChatOverlayProps {
|
||||
isVisible: boolean;
|
||||
position: { x: number; y: number };
|
||||
onPositionChange: (position: { x: number; y: number }) => void;
|
||||
containerRef: React.RefObject<HTMLDivElement>;
|
||||
containerRef: React.RefObject<HTMLDivElement | null>;
|
||||
onToggle: () => void;
|
||||
}
|
||||
|
||||
|
||||
@ -1179,7 +1179,7 @@ export function PhoneSimulator({
|
||||
<ChatOverlay
|
||||
agentAudioTrack={voiceAssistant.audioTrack}
|
||||
accentColor={config.settings.theme_color}
|
||||
inputDisabled={phoneMode === "important_message" || phoneMode === "hand_off"}
|
||||
inputDisabled={phoneMode === "hand_off"}
|
||||
isVisible={showChatOverlay}
|
||||
position={chatOverlayPosition}
|
||||
onPositionChange={setChatOverlayPosition}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user