removed unused code
This commit is contained in:
parent
e1ecaf7a31
commit
2377a1b869
@ -34,7 +34,6 @@ const ManageExpense = ({ closeModal, expenseToEdit = null }) => {
|
|||||||
isLoading,
|
isLoading,
|
||||||
error: ExpenseErrorLoad,
|
error: ExpenseErrorLoad,
|
||||||
} = useExpense(expenseToEdit);
|
} = useExpense(expenseToEdit);
|
||||||
console.log(data)
|
|
||||||
const [ExpenseType, setExpenseType] = useState();
|
const [ExpenseType, setExpenseType] = useState();
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const {
|
const {
|
||||||
|
|||||||
@ -15,7 +15,6 @@ export const useMasterMenu = ()=>{
|
|||||||
return useQuery({
|
return useQuery({
|
||||||
queryKey:["MasterMenu"],
|
queryKey:["MasterMenu"],
|
||||||
queryFn:async()=> {
|
queryFn:async()=> {
|
||||||
debugger
|
|
||||||
const resp = await MasterRespository.getMasterMenus();
|
const resp = await MasterRespository.getMasterMenus();
|
||||||
return resp.data
|
return resp.data
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,7 +21,6 @@ const DailyTask = () => {
|
|||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const selectedProject = useSelectedproject();
|
const selectedProject = useSelectedproject();
|
||||||
const { projectNames } = useProjectName();
|
const { projectNames } = useProjectName();
|
||||||
console.log(selectedProject)
|
|
||||||
const ApprovedTaskRights = useHasUserPermission(APPROVE_TASK);
|
const ApprovedTaskRights = useHasUserPermission(APPROVE_TASK);
|
||||||
const ReportTaskRights = useHasUserPermission(ASSIGN_REPORT_TASK);
|
const ReportTaskRights = useHasUserPermission(ASSIGN_REPORT_TASK);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user