We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e40952 + 44ae263 commit aa73562Copy full SHA for aa73562
1 file changed
src/app/harbor/tabs/tour.ts
@@ -57,11 +57,9 @@ const t = new Shepherd.Tour({
57
})
58
59
let hasSetUp = false
60
-export async function tour() {
61
- const tutorialCompletionStatus = await fetchTutorialCompletionStatus()
62
- sessionStorage.setItem(
63
- 'tutorial',
64
- tutorialCompletionStatus ? 'true' : 'false',
+export function tour() {
+ fetchTutorialCompletionStatus().then((res) =>
+ sessionStorage.setItem('tutorial', res.toString()),
65
)
66
67
const currentStepId = getCookie('tour-step')
0 commit comments