Skip to content

Commit

Permalink
Change order of form fields
Browse files Browse the repository at this point in the history
  • Loading branch information
aulisius committed Jul 27, 2022
1 parent 1255ccb commit 96fcaea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/StoreAddress.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ export function StoreAddress({ wpModules, onComplete }) {
</select>
)}
</div>
<div>
<label>Postcode/ZIP</label>
<input
name="woocommerce_store_postcode"
type="zip"
required
defaultValue={defaultContact.woocommerce_store_postcode}
{...eventHandlers}
/>
</div>
<div>
<label>Country</label>
{isLoading ? (
Expand All @@ -141,16 +151,6 @@ export function StoreAddress({ wpModules, onComplete }) {
</select>
)}
</div>
<div>
<label>Postcode/ZIP</label>
<input
name="woocommerce_store_postcode"
type="zip"
required
defaultValue={defaultContact.woocommerce_store_postcode}
{...eventHandlers}
/>
</div>
</div>
<button className="nfd-ecommerce-atoms" type="submit">
Continue
Expand Down

0 comments on commit 96fcaea

Please sign in to comment.