Commit 0ffc6b2
Reset PurchaseSchedulesModal bundle state on each open
Previously the bundle stepper only re-synced when extraSchedules/stepSize
props changed. Opening the modal, typing a value, cancelling, and
reopening left the stale draft visible — confusing because the new total
on the summary no longer matched the user's intent.
The existing `lastSubmission as any` cast matches the codebase's
established pattern (8 other sites) — left as-is rather than diverging.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3ee7c88 commit 0ffc6b2
1 file changed
Lines changed: 8 additions & 3 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 68 | | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
75 | 80 | | |
76 | 81 | | |
77 | 82 | | |
| |||
0 commit comments