fix: fix address not appending to address list in account page after adding it
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -386,6 +386,7 @@ func (m Model) ShippingUpdate(msg tea.Msg) (Model, tea.Cmd) {
|
||||
}
|
||||
saved := msg.Address
|
||||
m.ShippingInfo = &saved
|
||||
m.SavedAddresses = append(m.SavedAddresses, saved)
|
||||
return m.PaymentSwitch()
|
||||
|
||||
case ShippingFormErrorMsg:
|
||||
|
||||
Reference in New Issue
Block a user