Skip to content

Commit 968429e

Browse files
authored
Update tweened.ts
1 parent c743e72 commit 968429e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/motion/tweened.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export function tweened<T>(value?: T, defaults: Options<T> = {}): Tweened<T> {
9494
} = assign(assign({}, defaults), opts);
9595

9696
if (duration === 0) {
97-
store.set(target_value);
97+
store.set(value = target_value);
9898
return Promise.resolve();
9999
}
100100

0 commit comments

Comments
 (0)