mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-21 22:34:21 +00:00
🔧 Use default instance if specified in envvars
This commit is contained in:
parent
b43b0b73d4
commit
8f59ebad0e
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export function InstanceFormBox(): JSX.Element {
|
|||
|
||||
const urlField =
|
||||
useFormState<string>(
|
||||
instance?.state?.url?.toString() ?? "",
|
||||
instance?.state?.url?.toString() ?? process.env.REACT_APP_DEFAULT_INSTANCE ?? "",
|
||||
onValidate,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue