Adjust Auth Callback URL for self-hosted instances (#167)

* Adjust URL for local development during auth callback covering more scenarios
* Fix typechecking issues
This commit is contained in:
Giancarlo Buomprisco
2025-02-18 09:57:56 +07:00
committed by GitHub
parent 9a503412e5
commit 0478a6428d
3 changed files with 24 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ function DeleteAccountForm() {
const form = useForm({
resolver: zodResolver(DeletePersonalAccountSchema),
defaultValues: {
confirmation: '',
confirmation: '' as 'DELETE'
},
});

View File

@@ -151,7 +151,7 @@ function DeleteTeamConfirmationForm({
}),
),
defaultValues: {
confirm: '',
name: ''
},
});
@@ -260,7 +260,7 @@ function LeaveTeamContainer(props: {
}),
),
defaultValues: {
confirmation: '',
confirmation: '' as 'LEAVE'
},
});