add handler function to reset api key

This commit is contained in:
Vishnu Sreekumaran Nair
2025-05-07 13:53:45 -04:00
parent 8ce7477b06
commit d963fe65c1

View File

@@ -215,6 +215,14 @@ const Settings = () => {
}
};
const handleResetApiKey = () => {
setIsApiKeySet(false);
setForm((prev) => ({
...prev,
pagespeedApiKey: "",
}));
};
const languages = Object.keys(i18n.options.resources || {});
return (