// Contract Forms selectors
export const contractFormsSelector = ({ forms }: any) => forms?.data || [];
export const fetchingContractFormsSelector = ({ forms }: any) => forms?.fetchingContractForms || false;
export { firstCompanyIdSelector as companyIdSelector } from '../Projects/selectors';
export const deletingContractFormSelector = ({ forms }: any) => forms?.deletingContractForm || false;
export const contractFormDeletedSelector = ({ forms }: any) => forms?.contractFormDeleted || null;
export const addingContractFormSelector = ({ forms }: any) => forms?.addingContractForm || false;
export const contractFormAddedSelector = ({ forms }: any) => forms?.contractFormAdded || false;
export const editingContractFormSelector = ({ forms }: any) => forms?.editingContractForm || false;
export const contractFormEditedSelector = ({ forms }: any) => forms?.contractFormEdited || false;
export const contractFormErrorsSelector = ({ forms }: any) => forms?.formErrors || {};
export const contractFormNameErrorSelector = ({ forms }: any) => forms?.formErrors?.name || [];
export const contractFormTemplateErrorSelector = ({ forms }: any) => forms?.formErrors?.template || [];
