Skip to content

Commit

Permalink
Lint issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nkolic committed Feb 6, 2024
1 parent 2f8734e commit 003a35a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@ const RidePageContextProvider = ({ children }: {
}, [user?.id]);

useEffect(() => {
console.log("RIdeContext::businessAccountId updated:", businessAccountId);
if (currentBsPage === BS_PAGES.SERVICE_ESTIMATIONS) {
setServiceEstimations(null);
tryServiceEstimations();
Expand Down Expand Up @@ -1342,7 +1341,6 @@ const RidePageContextProvider = ({ children }: {
}, index);
};
const updateBusinessAccountId = (newBusinessAccountId: string | null) => {
console.log("Update BA id in ride new context: " , newBusinessAccountId);
if (newBusinessAccountId !== businessAccountId) {
setBusinessAccountId(newBusinessAccountId);
}
Expand Down
3 changes: 0 additions & 3 deletions examples/client/Locomotion/src/context/settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,9 @@ const useSettings = () => {
}, [appSettingsState]);

const loadShowPrice = async (showPriceToMembersOfBA) => {
console.log("SettingsContext::businessAccountId: ARRIVED " , showPriceToMembersOfBA);
if (showPriceToMembersOfBA !== undefined) {
console.log("SettingsContext::Loading !!!!!!BA prefs");
setShowPrice(showPriceToMembersOfBA);
} else {
console.log("SettingsContext:: ??????showSettingsPrice: laoded from other settings context: ");
const hidePrice = await getSettingByKey(settingsKeys.HIDE_PRICE);
setShowPrice(!hidePrice);
}
Expand Down

0 comments on commit 003a35a

Please sign in to comment.