Skip to content

Commit

Permalink
fix: ChatGPTNextWeb#2149 try to fix chat action button style
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa committed Jun 27, 2023
1 parent e00988e commit 332a069
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`}
Expand Down

0 comments on commit 332a069

Please sign in to comment.