import { getActiveTheme as p } from "../../../../store/selectors.js";
import { setActiveTheme as t } from "../store/theme-slice.js";
import { useCallback as s } from "react";
import { useAppDispatch as c } from "./use-app-dispatch.js";
import { useAppSelector as i } from "./use-app-selector.js";
const A = () => {
  const o = i(p), e = c(), m = s(
    (r) => {
      e(t(r));
    },
    [e, t]
  );
  return [o, m];
};
export {
  A as useTheme
};
//# sourceMappingURL=use-theme.js.map
