We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b4482 commit ca657d1Copy full SHA for ca657d1
packages/renderless/src/guide/index.ts
@@ -63,7 +63,7 @@ export const mounted =
63
}
64
65
export const beforeUnmount = (state) => () => {
66
- state.tour.hide()
+ state?.tour?.hide()
67
68
69
const getItemCopy = (props, tour, result) => {
0 commit comments