Skip to content

Commit 5322330

Browse files
committed
revert changes to Validations
1 parent dfdfcb4 commit 5322330

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/Validations/Validations.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ const validate = (validations) => {
1212

1313
const check = values.reduce(
1414
(acc, [key, value]) => {
15-
// 'unique' validation is a special case where there is no value
16-
if (key === 'unique') { return acc; }
17-
1815
if (!isNull(value)) { return acc; }
1916
return [...acc, key];
2017
},

0 commit comments

Comments
 (0)