Fakultas Ilmu Komputer UI

Commit 83c08256 authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

[REFACTOR] Switch kelurahan and kecamatan error messages ordering in complete profile

parent c70061e3
Pipeline #49913 passed with stages
in 2 minutes and 26 seconds
......@@ -399,14 +399,14 @@ function CompleteProfile({
/>
</Col>
</Form.Group>
{errors.district && (
{errors.village && (
<Form.Control.Feedback type="invalid">
{errors.district.message}
{errors.village.message}
</Form.Control.Feedback>
)}
{errors.village && (
{errors.district && (
<Form.Control.Feedback type="invalid">
{errors.village.message}
{errors.district.message}
</Form.Control.Feedback>
)}
{errors.city && (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment