Merge pull request #342 from vczb/add-autofocus-to-settings-modal

fix: Add autofocus to server url input on settings modal
This commit is contained in:
Alexandru Branza 2023-02-08 20:42:46 +02:00 committed by GitHub
commit f7f72f5d90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -594,6 +594,7 @@ const Settings = () => {
onCloseRequest={closeConfigureServerUrlModal}>
<TextInput
ref={configureServerUrlInputRef}
autoFocus={true}
className={styles['server-url-input']}
type={'text'}
defaultValue={streamingServerUrlInput.value}