Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fix type error

Carlos Monastyrski890ab4d80664
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx
index 492e30ac85..b3bbab779f 100644
--- a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx
+++ b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx
@@ -129,7 +129,7 @@ export const MFASection = () => {
}
};
- const handleFormDataChange = (field: string, value: any) => {
+ const handleFormDataChange = async (field: string, value: any) => {
setFormData((prev) => ({
...prev,
[field]: value