Merge remote-tracking branch 'origin/websocket' into chat_and_cache
This commit is contained in:
commit
df0897a96e
2 changed files with 7 additions and 7 deletions
|
|
@ -24,7 +24,7 @@ export default function ChatInput({
|
||||||
}}
|
}}
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
disabled={lockChat}
|
disabled={lockChat}
|
||||||
style={{ minHeight: "50px", maxHeight: "100px", resize: "none" }}
|
style={{minHeight: "40px", maxHeight: "100px", resize: "none" }}
|
||||||
value={lockChat ? "Thinking..." : chatValue}
|
value={lockChat ? "Thinking..." : chatValue}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
inputRef.current.style.height = "auto";
|
inputRef.current.style.height = "auto";
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ export default function FileCard({ fileName, content, fileType }) {
|
||||||
const url = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.download = fileName;
|
link.download = fileName+".png";
|
||||||
document.body.appendChild(link);
|
document.body.appendChild(link);
|
||||||
link.click();
|
link.click();
|
||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue