mirror of
https://github.com/marcusDenslow/terminalShop.git
synced 2026-10-25 02:52:20 +02:00
fix: fix address not appending to address list in account page after adding it
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