Skip to content

Commit

Permalink
remove share btns when no city
Browse files Browse the repository at this point in the history
  • Loading branch information
Falsal committed Aug 22, 2024
1 parent ae38ee7 commit 79bc31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Main/DetailReworked.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ useEffect(() => {
</div>
</Box>
)}
{
{ (!!_city && _city !== "no-city" && !!idOne) &&
(
<Box className="tour-detail-conditional-desktop">
{actionButtonPart}
Expand Down Expand Up @@ -719,7 +719,7 @@ useEffect(() => {
</Box>
)}
{
!!validTour && (
!!validTour && (!!_city && _city !== "no-city" && !!idOne) && (
<Box className="tour-detail-conditional-mobile">
{actionButtonPart}
</Box>
Expand Down

0 comments on commit 79bc31c

Please sign in to comment.