Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

371 B
Raw Blame
import type { TypedUseSelectorHook } from "react-redux";
import { createSelectorHook } from "react-redux";

import { metabaseReduxContext } from "metabase/redux";

// TODO: use the real type after we figure out what it is
type EnterpriseState = any;

export const useEnterpriseSelector: TypedUseSelectorHook<EnterpriseState> =
  createSelectorHook(metabaseReduxContext);