removed extra if condition

This commit is contained in:
Akshay Rana authored and GitHub committed 2023-04-18 09:26:34 +05:30
1 parent 404b75d557
commit 5b0f8dd755
1 file changed
-4
@@ -33,10 +33,6 @@
element?.setCustomValidity('');
}
$: if (element && required && value) {
element.setCustomValidity('');
}
$: if (value) {
error = null;
}