Skip to content

Commit

Permalink
remove the window.open from onSelectTour
Browse files Browse the repository at this point in the history
  • Loading branch information
Falsal committed Jan 12, 2024
1 parent 0f78fa2 commit c4442b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Main/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ try {
.then((tourExtracted) => {
if (tourExtracted && tourExtracted.data && tourExtracted.data.tour) {
localStorage.setItem("tourId", tour.id);
window.open("/tour?" + searchParams.toString());
// window.open("/tour?" + searchParams.toString());
}else{
goToStartPage();
}
Expand Down

0 comments on commit c4442b2

Please sign in to comment.