missing brace

This commit is contained in:
Craig Lawson
2026-01-11 22:39:49 +00:00
parent a70959e4a6
commit 1494df9eb3
+4 -4
View File
@@ -172,10 +172,10 @@ const Settings = () => {
// Update Redux immediately for UI feedback
if (name === "showURL") {
dispatch(setShowURL(newValue));
const { error } = settingsValidation.validate(settingsData.settings, {
abortEarly: false,
});
if (!error || error.details.length === 0) {
}
};
const handleSave = () => {
setErrors({});
} else {
const newErrors = {};