1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

🔧 Use default instance if specified in envvars

This commit is contained in:
Steffo 2021-10-20 19:35:18 +02:00
parent b43b0b73d4
commit 8f59ebad0e

View file

@ -84,7 +84,7 @@ export function InstanceFormBox(): JSX.Element {
const urlField = const urlField =
useFormState<string>( useFormState<string>(
instance?.state?.url?.toString() ?? "", instance?.state?.url?.toString() ?? process.env.REACT_APP_DEFAULT_INSTANCE ?? "",
onValidate, onValidate,
) )