At the time of hit in cancel form will be closed.

This commit is contained in:
Kartik Sharma 2025-11-19 16:36:32 +05:30
parent 2dbf5dc109
commit df24b18a27

View File

@ -5,7 +5,7 @@ import { useForm } from 'react-hook-form';
import { zodResolver } from '@hookform/resolvers/zod'; import { zodResolver } from '@hookform/resolvers/zod';
import Label from '../common/Label'; import Label from '../common/Label';
const ManageBranch = ({ BranchToEdit = null }) => { const ManageBranch = ({ closeModal,BranchToEdit = null }) => {
const schema = BranchSchema(); const schema = BranchSchema();
const { const {