removed extra if condition

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