Files
Jyotisha/frontend/src/lib/billing-panel-loader.ts
T

10 lines
383 B
TypeScript

export function loadBillingPanel() {
return import("@/components/billing-panel").then((module) => module.BillingPanel);
}
export function prefetchBillingPanel(): void {
// Hover/pointer prefetch is opportunistic. An offline chunk failure must not
// become an unhandled rejection handled by StaleClientRecovery as a reload.
void loadBillingPanel().catch(() => undefined);
}