add handler function to reset api key
This commit is contained in:
1 parent
8ce7477b06
commit
d963fe65c1
1 file changed
+8
@@ -215,6 +215,14 @@ const Settings = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const handleResetApiKey = () => {
|
||||
setIsApiKeySet(false);
|
||||
setForm((prev) => ({
|
||||
...prev,
|
||||
pagespeedApiKey: "",
|
||||
}));
|
||||
};
|
||||
|
||||
const languages = Object.keys(i18n.options.resources || {});
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user