import { useWatch } from 'react-hook-form';
import { getFilledCount } from '../../../utils';
export const useLogic = ({ modalForm, }) => {
    const formValues = useWatch({
        control: modalForm.control,
    });
    const isResetButtonDisabled = getFilledCount(formValues) === 0;
    return {
        isResetButtonDisabled,
    };
};
