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:
giancarlo
2024-05-13 18:54:12 +07:00
parent 741d54b994
commit 55e364aebd
14 changed files with 85 additions and 84 deletions

View File

@@ -175,7 +175,6 @@ function ConfirmUnenrollFactorModal(
</AlertDialogCancel>
<AlertDialogAction
className={'w-full'}
type={'button'}
disabled={unEnroll.isPending}
onClick={() => onUnenrollRequested(props.factorId)}

View File

@@ -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 ? (