Remove debug logging and add feature documentation
- Remove all console.log statements added during development - Clean up code for production readiness
This commit is contained in:
1 parent
76ab2695db
commit
7b619e6b31
4 files changed
+2
-29
No files matched your search
@@ -80,9 +80,6 @@ const Settings = () => {
|
||||
const handleChange = async (e) => {
|
||||
const { name, value, checked } = e.target;
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("=== SETTINGS HANDLER CHANGE ===", { name, value, checked, type: typeof value });
|
||||
|
||||
let newValue;
|
||||
if (
|
||||
name === "systemEmailIgnoreTLS" ||
|
||||
@@ -179,8 +176,6 @@ const Settings = () => {
|
||||
};
|
||||
|
||||
const handleSave = () => {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("=== HANDLE SAVE ===", { settingsDataSettings: settingsData?.settings });
|
||||
const { error } = settingsValidation.validate(settingsData.settings, {
|
||||
abortEarly: false,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user