Skip to content

Commit b27e173

Browse files
authored
billing address bugfix (#437)
1 parent c647213 commit b27e173

File tree

1 file changed

+9
-0
lines changed
  • src/modules/account/components/profile-billing-address

1 file changed

+9
-0
lines changed

src/modules/account/components/profile-billing-address/index.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ const ProfileBillingAddress: React.FC<MyInformationProps> = ({
123123
defaultValue={billingAddress?.company || undefined}
124124
data-testid="billing-company-input"
125125
/>
126+
<Input
127+
label="Phone"
128+
name="phone"
129+
type="phone"
130+
autoComplete="phone"
131+
required
132+
defaultValue={billingAddress?.phone ?? customer?.phone ?? ""}
133+
data-testid="billing-phone-input"
134+
/>
126135
<Input
127136
label="Address"
128137
name="address_1"

0 commit comments

Comments
 (0)