Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Falsal committed Aug 19, 2024
1 parent a8188ee commit c78ec04
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/views/Start/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default function Header({

useEffect(() => {
let _city = getCity();
console.log("L62 _city :", _city)
if (!!_city) {
setLoading(true);
getTotalCityTours(city).then((data) => {
Expand Down Expand Up @@ -142,8 +141,6 @@ export default function Header({
</Box>
<Box className={"header-text"}>
<>
{console.log("L149 totalTours", totalTours)}
{console.log("L150 totalToursFromCity", totalToursFromCity)}
{
!loading && !!totalTours && (totalToursFromCity === 0 ) && (
<Typography variant={"h1"} height={"162px"}>
Expand All @@ -155,8 +152,6 @@ export default function Header({
</Typography>
)
}
{console.log("L159 totalToursFromCity", totalToursFromCity)}
{console.log("L160 loading", loading)}
{
!loading && !!totalToursFromCity && (
<Typography variant={"h1"} height={"162px"}>
Expand Down

0 comments on commit c78ec04

Please sign in to comment.