Skip to content

Commit

Permalink
rm an extra call of getScrollTop
Browse files Browse the repository at this point in the history
  • Loading branch information
bcastlel committed Jan 27, 2024
1 parent 10d0dda commit cb60eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-use-fixed-header/src/useFixedHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export function useFixedHeader(
}
}

prevTop = getScrollTop()
prevTop = scrollTop
}
}

Expand Down

0 comments on commit cb60eb3

Please sign in to comment.