Skip to content

Commit

Permalink
Revert "add condition to render tour related parts and footer only wh…
Browse files Browse the repository at this point in the history
…en tour is available"

This reverts commit 0b4a449.
  • Loading branch information
Falsal committed Sep 8, 2024
1 parent 0b4a449 commit ac5b183
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/views/Main/DetailReworked.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,9 +649,7 @@ useEffect(() => {
</Box>
</Box>
</Box>
{
!!tour && validTour &&
<Box>
<Box>
<Box className="tour-detail-header">
<Box className="mt-3">
<Typography variant="title">{tour?.title}</Typography>
Expand Down Expand Up @@ -768,15 +766,12 @@ useEffect(() => {
<div></div>

</Box>
}
{
!!tour && validTour &&
<Footer></Footer>
}
<Footer></Footer>
</>
)}
</Box>
);
// }

};

Expand Down

0 comments on commit ac5b183

Please sign in to comment.