Skip to content

Commit 995eaae

Browse files
committed
nit: remove unnecessary Math.max call
1 parent 78ee1d8 commit 995eaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/runAsync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export function scheduleProps<T>(
199199
if (cancel) {
200200
onStart()
201201
} else {
202-
delay = Math.max(0, callProp(props.delay || 0, key))
202+
delay = callProp(props.delay || 0, key)
203203
pause = matchProp(props.pause, key)
204204
if (pause) {
205205
state.resumeQueue.add(onResume)

0 commit comments

Comments
 (0)