Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #752 from egovernments/anil-cleanup
Browse files Browse the repository at this point in the history
Removed console.log
  • Loading branch information
anilsingha-eGov authored Mar 14, 2024
2 parents c13b171 + 3c58eb7 commit b4434fd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ const TopBar = ({
);
}
const loggedin = userDetails?.access_token ? true : false;
console.log(window?.globalConfigs?.getConfig?.("LOGO_URL"),"sss")
return (
<div className="topbar">
{mobileView ? <Hamburger handleClick={toggleSidebar} color="#9E9E9E" /> : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const UserProfile = ({ stateCode, userType, cityDetails }) => {
const stateId = Digit.ULBService.getStateId();
const tenant = Digit.ULBService.getCurrentTenantId();
const userInfo = Digit.UserService.getUser()?.info || {};
console.log(userInfo, "userInfo");
const [userDetails, setUserDetails] = useState(null);
const [name, setName] = useState(userInfo?.name ? userInfo.name : "");
const [email, setEmail] = useState(userInfo?.emailId ? userInfo.emailId : "");
Expand Down Expand Up @@ -275,7 +274,6 @@ const UserProfile = ({ stateCode, userType, cityDetails }) => {
showToast("success", t("CORE_COMMON_PROFILE_UPDATE_SUCCESS"), 5000);
}
} catch (error) {
console.log(error,"error")
if(error?.response?.data?.Errors[0].message){
showToast("error", error?.response?.data?.Errors[0].message);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const ForgotPassword = ({ config: propsConfig, t }) => {
if (isLoading) {
return <Loader />;
}
console.log(config,"config")
return (
<Background>
<div className="employeeBackbuttonAlign">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ const Inbox = ({ parentRoute, businessService = "HRMS", initialStates = {}, filt
}, 5000);
};
const handleFilterChange = (filterParam) => {
console.log("filter", filterParam, searchParams);
// if (!searchParams.names || !searchParams.phone || !searchParams.codes || !filterParam.tenantIds || !filterParam.isActive) {
// // Show toast message
// setToast({ key: true, label: "Please enter a minimum one value to search" });
Expand All @@ -106,7 +105,6 @@ const Inbox = ({ parentRoute, businessService = "HRMS", initialStates = {}, filt
if (!_new.tenantId){
_new = {tenantId: tenantId}
}
console.log(_new,"_new")
setSearchParams({ ..._new });
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,8 @@ const AdvancedCreate = () => {
const { isLoading, data: empData = [] } = Digit.Hooks.useCustomAPIHook(requestCriteria);
const { isLoading: isLoadingEmpData, data: filteredEmpData = [], revalidate } = Digit.Hooks.useCustomAPIHook(requestCriteria1);

console.log(empData, "empData", filteredEmpData);
const onSubmit = (data) => {
///
console.log(data, "data");
const onError = (resp) => {
history.push(`/${window.contextPath}/employee/sample/response?isSuccess=${false}`, { message: "TE_CREATION_FAILED" });
};
Expand Down Expand Up @@ -354,7 +352,6 @@ const AdvancedCreate = () => {
},
],
});
console.log(processedConfig, "processedConfig");
return processedConfig?.form;
}, [empData, filteredEmpData]);

Expand All @@ -363,7 +360,6 @@ const AdvancedCreate = () => {
setDept(formData?.department?.code);
revalidate();
}
console.log(formData, "formData");
};
return (
<FormComposerV2
Expand Down

0 comments on commit b4434fd

Please sign in to comment.