Skip to content

Commit

Permalink
fix: codereivew修改
Browse files Browse the repository at this point in the history
  • Loading branch information
human committed Jan 17, 2025
1 parent ec0878f commit 6f55252
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RNIntersectionObserver {
observeAll: false,
throttleTime: 100
}, options || {})
this.thresholds = this.options.thresholds.sort((a, b) => a - b) || [0]
this.thresholds = this.options.thresholds.sort((a, b) => a - b)
this.initialRatio = this.options.initialRatio
this.observeAll = this.options.observeAll

Expand Down

0 comments on commit 6f55252

Please sign in to comment.