fix: #2149 try to fix chat action button style

This commit is contained in:
Yidadaa 2023-06-28 01:09:25 +08:00
parent efbd1c15a9
commit 5b1d45c1a9

View File

@ -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`}