mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	fix: #2149 try to fix chat action button style
This commit is contained in:
		@@ -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`}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user