export const useLogic = ({ formWizard, }) => {
    const { secondaryActions, isFirstStep, isLastStep } = formWizard;
    const isShowFullActions = Boolean(secondaryActions) && isLastStep && isLastStep !== isFirstStep;
    const isShowNavigateButtons = !isFirstStep || (isFirstStep === isLastStep && Boolean(secondaryActions));
    return { isShowFullActions, isShowNavigateButtons };
};
