fix: resolve build errors by removing unused variables after UI refactor

This commit is contained in:
Yashwin 2026-04-03 15:34:44 +05:30
parent 3f0963d3e8
commit b6102d0b31
2 changed files with 0 additions and 5 deletions

View File

@ -66,7 +66,6 @@ export const NewDepartmentModal = ({
},
});
const statusValue = watch("is_active");
const parentIdValue = watch("parent_id");
useEffect(() => {

View File

@ -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();