Update packages to latest versions
Several packages have been updated to their latest versions. This includes "@tanstack/react-table", "@makerkit/data-loader-supabase", and "@tanstack/react-query". Moreover, some UI tweaks have been made in multi-factor-auth-setup-dialog.tsx.
This commit is contained in:
@@ -175,7 +175,6 @@ function ConfirmUnenrollFactorModal(
|
||||
</AlertDialogCancel>
|
||||
|
||||
<AlertDialogAction
|
||||
className={'w-full'}
|
||||
type={'button'}
|
||||
disabled={unEnroll.isPending}
|
||||
onClick={() => onUnenrollRequested(props.factorId)}
|
||||
|
||||
@@ -174,7 +174,7 @@ function MultiFactorAuthSetupForm({
|
||||
onSubmit={verificationCodeForm.handleSubmit(onSubmit)}
|
||||
className={'w-full'}
|
||||
>
|
||||
<div className={'flex flex-col space-y-4'}>
|
||||
<div className={'flex flex-col space-y-8'}>
|
||||
<FormField
|
||||
render={({ field }) => {
|
||||
return (
|
||||
@@ -212,13 +212,15 @@ function MultiFactorAuthSetupForm({
|
||||
name={'verificationCode'}
|
||||
/>
|
||||
|
||||
<div className={'flex space-x-2'}>
|
||||
<div className={'flex justify-end space-x-2'}>
|
||||
<Button type={'button'} variant={'ghost'} onClick={onCancel}>
|
||||
<Trans i18nKey={'common:cancel'} />
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
disabled={!verificationCodeForm.formState.isValid}
|
||||
disabled={
|
||||
!verificationCodeForm.formState.isValid || state.loading
|
||||
}
|
||||
type={'submit'}
|
||||
>
|
||||
{state.loading ? (
|
||||
|
||||
Reference in New Issue
Block a user