Commit 58fbac9
refactor(clerk-js): Simplify _getToken control flow and trim comment
Flatten nested if/else in _getToken to make the three branches
(cache hit / offline / fetch) equal peers. Trim redundant comment
in #fetchToken.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2c09e1e commit 58fbac9
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
459 | 461 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 462 | | |
464 | 463 | | |
465 | 464 | | |
| |||
530 | 529 | | |
531 | 530 | | |
532 | 531 | | |
533 | | - | |
534 | | - | |
| 532 | + | |
535 | 533 | | |
536 | 534 | | |
537 | 535 | | |
| |||
0 commit comments