missing brace

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