pull/5370/head
bunsenstraat 3 years ago
parent 2f34656e47
commit c197daa6fc
  1. 5
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -95,7 +95,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
useEffect(() => { useEffect(() => {
event.trigger('resize', [terminalPosition]) event.trigger('resize', [terminalPosition])
} , [terminalPosition]) }, [terminalPosition])
const scrollToBottom = () => { const scrollToBottom = () => {
messagesEndRef.current.scrollIntoView({ behavior: 'smooth' }) messagesEndRef.current.scrollIntoView({ behavior: 'smooth' })
@ -217,9 +217,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
} }
} }
const focusinput = () => { const focusinput = () => {
inputEl.current.focus() inputEl.current.focus()
} }

Loading…
Cancel
Save