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:
@@ -34,11 +34,11 @@
|
||||
"@kit/tsconfig": "workspace:*",
|
||||
"@kit/ui": "workspace:^",
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@supabase/supabase-js": "^2.45.2",
|
||||
"@supabase/supabase-js": "^2.45.3",
|
||||
"@tanstack/react-query": "5.52.2",
|
||||
"@types/react": "^18.3.4",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"lucide-react": "^0.436.0",
|
||||
"lucide-react": "^0.437.0",
|
||||
"next": "14.2.7",
|
||||
"next-themes": "0.3.0",
|
||||
"react": "18.3.1",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user