chore: ignore log error

This commit is contained in:
Pepe Fagoaga
2025-06-04 12:38:29 +02:00
parent 6259df4f8c
commit 5ea74fbeb2
+3 -3
View File
@@ -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");