Repository navigation
refactor(frontend): consolidate account-overrides prefetch helper (closes #198) - #852
Conversation
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
Actionable comments posted: 0 |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
@coderabbitai review |
Rate Limit Exceeded
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
…oses #198) Extract fetchOverridesForAccounts() into frontend/src/lib/overrides.ts, replacing two near-identical inline Promise.all blocks in openFanOutModal and openPurchaseModal. Update the mixed-SP DOM test for the extra async boundary introduced by the new function.

Summary
fetchOverridesForAccounts()intofrontend/src/lib/overrides.ts, replacing two near-identical inlinePromise.allprefetch blocks inopenFanOutModalandopenPurchaseModalawait Promise.resolve()tick in the mixed-SP DOM test to account for the extra async function boundary introduced by the new helperTest plan
npx tsc --noEmit-- cleannpm test-- 65 suites, 2142 passed, 1 pre-existing skip, 0 failuressrc/lib/overrides.tsshows 100% statement/branch/function/line coverageSummary by CodeRabbit