add handler function to reset api key

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-05-07 13:53:45 -04:00
1 parent 8ce7477b06
commit d963fe65c1
1 file changed
+8
+8
View File
@@ -215,6 +215,14 @@ const Settings = () => {
}
};
const handleResetApiKey = () => {
setIsApiKeySet(false);
setForm((prev) => ({
...prev,
pagespeedApiKey: "",
}));
};
const languages = Object.keys(i18n.options.resources || {});
return (