Update dependencies

Upgraded multiple dependencies across the project, including @types/node to ^22.5.1 and @supabase/supabase-js to ^2.45.3. This change also includes updates to react-related types and various other packages to their latest versions to maintain compatibility and leverage new features.
This commit is contained in:
gbuomprisco
2024-08-31 17:47:21 +02:00
parent 0c415be8ee
commit 53302fba7e
33 changed files with 648 additions and 734 deletions

View File

@@ -304,8 +304,10 @@ function FactorQrCode({
return setError(true);
}
form.setValue('factorName', name);
form.setValue('qrCode', data.totp.qr_code);
if (data.type === 'totp') {
form.setValue('factorName', name);
form.setValue('qrCode', data.totp.qr_code);
}
// dispatch event to set factor ID
onSetFactorId(data.id);