mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 20:50:17 +09:00
update
This commit is contained in:
parent
c526ff80b5
commit
c00ebbea4f
@ -106,7 +106,6 @@ export function RealtimeChat({
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Set message failed:", error);
|
console.error("Set message failed:", error);
|
||||||
setStatus("Set message failed");
|
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Connection failed:", error);
|
console.error("Connection failed:", error);
|
||||||
@ -303,7 +302,7 @@ export function RealtimeChat({
|
|||||||
icon={isRecording ? <VoiceOffIcon /> : <VoiceIcon />}
|
icon={isRecording ? <VoiceOffIcon /> : <VoiceIcon />}
|
||||||
onClick={toggleRecording}
|
onClick={toggleRecording}
|
||||||
disabled={!isConnected}
|
disabled={!isConnected}
|
||||||
type={isRecording ? "danger" : "primary"}
|
type={isRecording ? "danger" : isConnected ? "primary" : null}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles["icon-center"]}>{status}</div>
|
<div className={styles["icon-center"]}>{status}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user