We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfdfcb4 commit 5322330Copy full SHA for 5322330
src/components/Validations/Validations.js
@@ -12,9 +12,6 @@ const validate = (validations) => {
12
13
const check = values.reduce(
14
(acc, [key, value]) => {
15
- // 'unique' validation is a special case where there is no value
16
- if (key === 'unique') { return acc; }
17
-
18
if (!isNull(value)) { return acc; }
19
return [...acc, key];
20
},
0 commit comments