At the time of hit in cancel form will be closed.
This commit is contained in:
parent
2dbf5dc109
commit
df24b18a27
@ -5,7 +5,7 @@ import { useForm } from 'react-hook-form';
|
||||
import { zodResolver } from '@hookform/resolvers/zod';
|
||||
import Label from '../common/Label';
|
||||
|
||||
const ManageBranch = ({ BranchToEdit = null }) => {
|
||||
const ManageBranch = ({ closeModal,BranchToEdit = null }) => {
|
||||
|
||||
const schema = BranchSchema();
|
||||
const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user