mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-19 07:58:46 -05:00
missing brace
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user