diff --git a/frontend/src/component/Input.tsx b/frontend/src/component/Input.tsx index cff2e6f..5fe6090 100644 --- a/frontend/src/component/Input.tsx +++ b/frontend/src/component/Input.tsx @@ -24,9 +24,13 @@ function Input({ addToQueue, working }: InputProps) { } }; + // autofocus input in new rooms + const autoFocus = window.location.pathname === '/'; + return (