"use client";
import { createTypedHooks } from "easy-peasy";

import { StoreModel } from "@appTypes/StoreModel";

export const typedHooks = createTypedHooks<StoreModel>();

export const useStoreActions = typedHooks.useStoreActions;
export const useStoreDispatch = typedHooks.useStoreDispatch;
export const useStoreState = typedHooks.useStoreState;
