Merge branch 'Yidadaa:main' into main
This commit is contained in:
commit
13cbcd6eff
|
@ -184,7 +184,6 @@ docker run -d -p 3000:3000 -e OPENAI_API_KEY="" -e CODE="" yidadaa/chatgpt-next-
|
|||
|
||||
|
||||
## 鸣谢 Special Thanks
|
||||
|
||||
### 捐赠者 Sponsor
|
||||
|
||||
[@mushan0x0](https://github.com/mushan0x0)
|
||||
|
|
|
@ -461,9 +461,9 @@ export function Chat(props: {
|
|||
|
||||
// Auto focus
|
||||
useEffect(() => {
|
||||
if (props.sideBarShowing) return;
|
||||
if (props.sideBarShowing && isMobileScreen()) return;
|
||||
inputRef.current?.focus();
|
||||
}, [props.sideBarShowing]);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className={styles.chat} key={session.id}>
|
||||
|
|
Loading…
Reference in New Issue