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. |
||
|---|---|---|
| .. | ||
| account-settings.tsx | ||
| exports.ts | ||
| homepage.tsx | ||