Commit 150a29a
Fix typecheck: use 4-arg signature for shouldRestrictUserBillableActions
The call sites were passing a Policy object as a 5th argument, but
the current main branch signature expects only 4 arguments (with
policyID string as the first). Removed the redundant 5th argument
from all call sites to match the expected function signature.
Co-authored-by: Eugene Voloshchak <eVoloshchak@users.noreply.github.com>1 parent 00778b8 commit 150a29a
3 files changed
Lines changed: 7 additions & 26 deletions
File tree
- src
- components
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
| 357 | + | |
361 | 358 | | |
362 | 359 | | |
363 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 320 | + | |
324 | 321 | | |
325 | 322 | | |
326 | 323 | | |
| |||
381 | 378 | | |
382 | 379 | | |
383 | 380 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
| 381 | + | |
388 | 382 | | |
389 | 383 | | |
390 | 384 | | |
| |||
563 | 557 | | |
564 | 558 | | |
565 | 559 | | |
566 | | - | |
| 560 | + | |
567 | 561 | | |
568 | 562 | | |
569 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 106 | + | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
| |||
1057 | 1053 | | |
1058 | 1054 | | |
1059 | 1055 | | |
1060 | | - | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
| 1056 | + | |
1064 | 1057 | | |
1065 | 1058 | | |
1066 | 1059 | | |
| |||
1377 | 1370 | | |
1378 | 1371 | | |
1379 | 1372 | | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
| 1373 | + | |
1384 | 1374 | | |
1385 | 1375 | | |
1386 | 1376 | | |
| |||
0 commit comments