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"); const parentIdValue = watch("parent_id");
useEffect(() => { useEffect(() => {

View File

@ -48,8 +48,6 @@ export const NewDesignationModal = ({
const { const {
register, register,
handleSubmit, handleSubmit,
setValue,
watch,
reset, reset,
clearErrors, clearErrors,
formState: { errors }, formState: { errors },
@ -62,8 +60,6 @@ export const NewDesignationModal = ({
}, },
}); });
const statusValue = watch("is_active");
useEffect(() => { useEffect(() => {
if (!isOpen) { if (!isOpen) {
reset(); reset();