cleanup billing management

This commit is contained in:
talksik
2026-04-14 13:01:09 -07:00
parent 2cd80a51bc
commit 3f5d55769c
6 changed files with 224 additions and 269 deletions
+2
View File
@@ -9,7 +9,9 @@ export function useNetworkBilling(networkId: string | undefined) {
enabled: !!networkId,
// Refetch on window focus so the UI catches up after the user returns
// from Stripe Checkout (webhook may land a second or two later).
// FIX: doesn't work with electron
refetchOnWindowFocus: true,
refetchInterval: 10000
});
}