Commit 3a5c714
committed
refactor(dashboard): Use Order['shippingAddress'] for initialAddress type
Replace inline 9-field object type with derived Order['shippingAddress']
type, matching the codebase pattern of deriving subtypes from the Order
type (e.g. Order['lines'], Order['shippingLines']).1 parent 0a29a7f commit 3a5c714
1 file changed
Lines changed: 2 additions & 11 deletions
File tree
- packages/dashboard/src/app/routes/_authenticated/_orders/components
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 36 | + | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
| |||
0 commit comments