Skip to content

Commit

Permalink
fix(guid): fix guid hide error
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr committed Oct 29, 2024
1 parent f6b4482 commit ca657d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderless/src/guide/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const mounted =
}

export const beforeUnmount = (state) => () => {
state.tour.hide()
state?.tour?.hide()
}

const getItemCopy = (props, tour, result) => {
Expand Down

0 comments on commit ca657d1

Please sign in to comment.