mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-02-15 22:09:16 -06:00
add handler function to reset api key
This commit is contained in:
@@ -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