MCPcopy
hub / github.com/simstudioai/sim / useBillingUsageNotifications

Function useBillingUsageNotifications

apps/sim/hooks/queries/general-settings.ts:127–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127export function useBillingUsageNotifications(): boolean {
128 const { data } = useGeneralSettings()
129 return data?.billingUsageNotificationsEnabled ?? true
130}
131
132export function useErrorNotificationsEnabled(): boolean {
133 const { data } = useGeneralSettings()

Callers 1

BillingFunction · 0.90

Calls 1

useGeneralSettingsFunction · 0.85

Tested by

no test coverage detected