Skip to content

Commit

Permalink
chore: add qt
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Nov 4, 2023
1 parent 5c133d1 commit b6ca1c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ export function generateTrigger(
// We only need take one to avoid duplicated change event trigger
// Use `lastTriggerRef` to record last open type
if (
lastTriggerRef.current[lastTriggerRef.current.length - 1] ??
mergedOpen !== nextOpen
(lastTriggerRef.current[lastTriggerRef.current.length - 1] ??
mergedOpen) !== nextOpen
) {
lastTriggerRef.current.push(nextOpen);
onPopupVisibleChange?.(nextOpen);
Expand Down

0 comments on commit b6ca1c1

Please sign in to comment.