()
| 3 | import type { TriggerFeatures } from "~/features.server"; |
| 4 | |
| 5 | export function useFeatures(): TriggerFeatures { |
| 6 | const routeMatch = useTypedRouteLoaderData<typeof loader>("root"); |
| 7 | |
| 8 | return routeMatch?.features ?? { isManagedCloud: false, v3Enabled: false, alertsEnabled: false }; |
| 9 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…