Sage100/src/store/features/famille/selectors.ts
2026-01-20 11:06:52 +03:00

10 lines
360 B
TypeScript

import type { RootState } from "@/store/store";
export const getAllfamilles = (state: RootState) => state.famille.familles;
export const getfamilleSelected = (state: RootState) => state.famille.familleSelected;
export const familleStatus = (state: RootState) => state.famille.status;
export const familleError = (state: RootState) => state.famille.error;