By defining the steps as consts in the top level they were being initialized immediately as the page loads. By having them initialized in a function it will correctly have access to everything on the page and not render steps of tours we aren't going to start. |
||
|---|---|---|
| .. | ||
| interface | ||
| shared | ||
| exports.ts | ||
| introduction.tsx | ||
| types.ts | ||
| utilities.ts | ||