forked from XiaoMo/ChatGPT-Next-Web
fix: #2149 try to fix chat action button style
This commit is contained in:
parent
efbd1c15a9
commit
5b1d45c1a9
@ -309,16 +309,6 @@ function ChatAction(props: {
|
||||
});
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
const onClick = () => setTimeout(updateWidth, 10);
|
||||
onClick();
|
||||
|
||||
window.addEventListener("click", onClick);
|
||||
return () => {
|
||||
window.removeEventListener("click", onClick);
|
||||
};
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`${styles["chat-input-action"]} clickable`}
|
||||
|
Loading…
Reference in New Issue
Block a user