mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 04:21:52 +00:00
chore: ignore log error
This commit is contained in:
@@ -52,6 +52,7 @@ export const ChatbotConfig = ({
|
||||
useEffect(() => {
|
||||
const subscription = form.watch((value, { name, type }) => {
|
||||
if (name && type) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`Form value changed: ${name} = ${JSON.stringify(value)}`);
|
||||
}
|
||||
});
|
||||
@@ -78,9 +79,8 @@ export const ChatbotConfig = ({
|
||||
setConfigExists(true);
|
||||
toast({
|
||||
title: "Success",
|
||||
description: `Lighthouse configuration ${
|
||||
configExists ? "updated" : "created"
|
||||
} successfully`,
|
||||
description: `Lighthouse configuration ${configExists ? "updated" : "created"
|
||||
} successfully`,
|
||||
});
|
||||
} else {
|
||||
throw new Error("Failed to save configuration");
|
||||
|
||||
Reference in New Issue
Block a user