Skip to content

Commit

Permalink
Merge pull request #1331 from sriranjan-s/Dev-2.0
Browse files Browse the repository at this point in the history
resolved payment gateway error
  • Loading branch information
sriranjan-s authored Sep 5, 2024
2 parents 968ef37 + 265aad2 commit be748c5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ export const convertEpochToDate = (dateEpoch) => {
staleTime: Infinity,
refetchOnWindowFocus: false,
});
console.log("datatatataty",data)

const cities = Digit.Hooks.useTenants();
let ulbType=""
const loginCity=JSON.parse(sessionStorage.getItem("Digit.User"))?.value?.info?.permanentCity
if(cities.data!==undefined){
const selectedTenantData = cities.data.find(item => item.city.districtTenantCode=== loginCity);
ulbType=selectedTenantData.city.ulbGrade
const selectedTenantData = cities.data.find(item => item?.city?.districtTenantCode=== loginCity);
ulbType=selectedTenantData?.city?.ulbGrade
}

const { label } = Digit.Hooks.useApplicationsForBusinessServiceSearch({ businessService: business_service }, { enabled: false });
Expand Down

0 comments on commit be748c5

Please sign in to comment.