Skip to content

Commit ca657d1

Browse files
committed
fix(guid): fix guid hide error
1 parent f6b4482 commit ca657d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/renderless/src/guide/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const mounted =
6363
}
6464

6565
export const beforeUnmount = (state) => () => {
66-
state.tour.hide()
66+
state?.tour?.hide()
6767
}
6868

6969
const getItemCopy = (props, tour, result) => {

0 commit comments

Comments
 (0)