()
| 30 | }; |
| 31 | |
| 32 | const stepFromHash = (): StepId => { |
| 33 | const hash = globalThis.location?.hash.replace(/^#/, "") ?? ""; |
| 34 | return flowSteps.some((step) => step.id === hash) ? (hash as StepId) : "integrations-empty"; |
| 35 | }; |
| 36 | |
| 37 | function CurrentFlowApp() { |
| 38 | // Each screen is addressable as `#<step-id>`, so a specific screen can be |