Commit b1e82d94 authored by timel's avatar timel

fix: 动画卡住

parent 3e698b65
......@@ -5,7 +5,7 @@ export const asyncStart = <T extends {}>(api: SpringRef<T>) => {
new Promise((resolve) => {
api.start({
...p,
onRest: resolve,
onResolve: resolve,
});
});
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment