Skip to content

Commit

Permalink
Issue #PS-874 chore: PR updated
Browse files Browse the repository at this point in the history
  • Loading branch information
suvarnakale committed Jun 17, 2024
1 parent de6df37 commit 1a9d992
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/GuideTour.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ const GuideTour = () => {
setStepIndex(stepIndex);
const hasSeenTutorial = localStorage.getItem('hasSeenTutorial');

if (!hasSeenTutorial) {
setRunTour(true);
} else {
setRunTour(false);
}
setRunTour(!hasSeenTutorial);
}, []);

const handleTourEnd = () => {
Expand Down

0 comments on commit 1a9d992

Please sign in to comment.