Skip to content

Commit

Permalink
fix(renderless): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjunjian committed Jan 24, 2025
1 parent c807205 commit e6a412c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderless/src/common/deps/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

import throttle from './throttle'

export function debounce(delay, atBegin, callback?: Function) {
export default function (delay, atBegin, callback?: Function) {
return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false)
}

0 comments on commit e6a412c

Please sign in to comment.