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

Function useErrorNotificationsEnabled

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

Source from the content-addressed store, hash-verified

130}
131
132export function useErrorNotificationsEnabled(): boolean {
133 const { data } = useGeneralSettings()
134 return data?.errorNotificationsEnabled ?? true
135}
136
137/**
138 * The user's effective scheduling timezone: their saved preference, or the

Callers

nothing calls this directly

Calls 1

useGeneralSettingsFunction · 0.85

Tested by

no test coverage detected