Commit 629f7b4
A4A MSD: point WooPayments license queries at the shared helper
Now that the commissions dashboard lives in the MSD dashboard, switch
the remaining attached-WooPayments-licenses call sites — the dashboard
data hook, the route-loader prefetch, and the classic landing page —
to wooPaymentsLicensesQuery and WOOPAYMENTS_PLUGIN, so their cache
keys can never drift from the overview store count.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 8d451d0 commit 629f7b4
3 files changed
Lines changed: 10 additions & 40 deletions
File tree
- client
- a8c-for-agencies/sections/woopayments/primary/woopayment-landing
- dashboard
- agency/earn/woopayments
- app/router
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
7 | 2 | | |
8 | 3 | | |
9 | 4 | | |
| |||
23 | 18 | | |
24 | 19 | | |
25 | 20 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 21 | + | |
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
| |||
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
8 | 3 | | |
9 | | - | |
10 | 4 | | |
| 5 | + | |
| 6 | + | |
11 | 7 | | |
12 | 8 | | |
13 | 9 | | |
| |||
54 | 50 | | |
55 | 51 | | |
56 | 52 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 53 | + | |
63 | 54 | | |
64 | 55 | | |
65 | 56 | | |
| |||
71 | 62 | | |
72 | 63 | | |
73 | 64 | | |
74 | | - | |
| 65 | + | |
75 | 66 | | |
76 | 67 | | |
77 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
8 | 3 | | |
| |||
11 | 6 | | |
12 | 7 | | |
13 | 8 | | |
14 | | - | |
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
| |||
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| 19 | + | |
| 20 | + | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
| |||
307 | 303 | | |
308 | 304 | | |
309 | 305 | | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
| 306 | + | |
319 | 307 | | |
| 308 | + | |
320 | 309 | | |
321 | 310 | | |
322 | 311 | | |
| |||
0 commit comments