cleanup billing management
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user