fix: resolve build errors by removing unused variables after UI refactor
This commit is contained in:
parent
3f0963d3e8
commit
b6102d0b31
@ -66,7 +66,6 @@ export const NewDepartmentModal = ({
|
||||
},
|
||||
});
|
||||
|
||||
const statusValue = watch("is_active");
|
||||
const parentIdValue = watch("parent_id");
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@ -48,8 +48,6 @@ export const NewDesignationModal = ({
|
||||
const {
|
||||
register,
|
||||
handleSubmit,
|
||||
setValue,
|
||||
watch,
|
||||
reset,
|
||||
clearErrors,
|
||||
formState: { errors },
|
||||
@ -62,8 +60,6 @@ export const NewDesignationModal = ({
|
||||
},
|
||||
});
|
||||
|
||||
const statusValue = watch("is_active");
|
||||
|
||||
useEffect(() => {
|
||||
if (!isOpen) {
|
||||
reset();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user