Skip to content

Commit 921c10f

Browse files
committed
nit: remove old todos
1 parent d327ecd commit 921c10f

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

packages/core/src/Controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ export class Controller<State extends Indexable = {}> {
9898
})
9999
}
100100

101-
// TODO: respect "delay" prop if its a number
102101
if (is.arr(to) || is.fun(to)) {
103102
runAsync(
104103
to,

packages/core/src/SpringValue.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ export class SpringValue<T = any, P extends string = string> extends Dependency<
343343
const { key } = this
344344
const { cancel, reset } = props
345345

346-
// TODO: should this logic be moved to Controller?
347346
if (cancel && (cancel === true || toArray(cancel).includes(key))) {
348347
this.stop(timestamp)
349348
return

0 commit comments

Comments
 (0)