Commit e544f39
refactor: move referrer dispatch to pricingCallback and add loading state
Move setReferrer dispatch from useEffect to pricingCallback to ensure
referrer is set synchronously when user proceeds. Add isLoading prop to
Pricing component to disable continue button while referrer is resolving.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0577d0f commit e544f39
File tree
2 files changed
+19
-15
lines changed- src/components/pages/profile/[name]/registration
- steps/Pricing
2 files changed
+19
-15
lines changedLines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 116 | + | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 133 | | |
147 | 134 | | |
148 | 135 | | |
| |||
183 | 170 | | |
184 | 171 | | |
185 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
186 | 180 | | |
187 | 181 | | |
188 | 182 | | |
| |||
356 | 350 | | |
357 | 351 | | |
358 | 352 | | |
| 353 | + | |
359 | 354 | | |
360 | 355 | | |
361 | 356 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
| |||
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
387 | 393 | | |
388 | 394 | | |
389 | 395 | | |
| |||
486 | 492 | | |
487 | 493 | | |
488 | 494 | | |
| 495 | + | |
489 | 496 | | |
490 | 497 | | |
491 | 498 | | |
| |||
501 | 508 | | |
502 | 509 | | |
503 | 510 | | |
| 511 | + | |
504 | 512 | | |
505 | 513 | | |
506 | 514 | | |
| |||
621 | 629 | | |
622 | 630 | | |
623 | 631 | | |
| 632 | + | |
624 | 633 | | |
625 | 634 | | |
626 | 635 | | |
| |||
0 commit comments