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