0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

remove call to persist

This commit is contained in:
Charlie Humphreys
2022-12-07 07:32:22 -06:00
parent 4e2f6b1d26
commit 8a110567fc

View File

@@ -59,8 +59,6 @@ const MetadataEditor = createClass({
},
handleFieldChange : function(name, e){
callIfExists(e, 'persist');
// load validation rules, and check input value against them
const inputRules = validations[name] ?? [];
const validationErr = inputRules.map((rule)=>rule(e.target.value)).filter(Boolean);