diff --git a/components/Chat/ChatLayout.tsx b/components/Chat/ChatLayout.tsx index d4cb903..3aa4ccd 100644 --- a/components/Chat/ChatLayout.tsx +++ b/components/Chat/ChatLayout.tsx @@ -18,7 +18,6 @@ import { Container, Group, Paper, - rem, ScrollArea, Select, Stack, @@ -86,7 +85,6 @@ export default function ChatLayout() { }, ]); const [inputValue, setInputValue] = useState(''); - const [isInputFocused, setIsInputFocused] = useState(false); const [isLoadingChats, setIsLoadingChats] = useState(false); // Model State @@ -352,39 +350,24 @@ export default function ChatLayout() { - - setInputValue(event.currentTarget.value)} - onKeyDown={handleKeyDown} - onFocus={() => setIsInputFocused(true)} - onBlur={() => setIsInputFocused(false)} - style={{ flex: 1, paddingLeft: rem(10) }} - rightSection={ - - - - } - /> - + setInputValue(event.currentTarget.value)} + onKeyDown={handleKeyDown} + rightSection={ + + + + } + />