Skip to content

Commit

Permalink
fix: hideOthers undo throwing error
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Oct 3, 2023
1 parent 007e5d4 commit e05072d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/radix-vue/src/shared/useHideOthers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function useHideOthers(target: MaybeElementRef) {
})

onUnmounted(() => {
undo()
if (undo)
undo()
})
}

0 comments on commit e05072d

Please sign in to comment.