Skip to content

Visualize Your Ideas With Code

docs: fix invalid import in readme (#11)

Jacob79f2d1f05625
diff --git a/README.md b/README.md
index ef3164a3..3f0111b2 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ Otherwise, below are the steps to set it up manually:
```ts
import type {Scene} from '@motion-canvas/core/lib/Scene';
import {ThreadGenerator} from '@motion-canvas/core/lib/threading';
- import {waitFor} from '@motion-canvas/core/lib/animations';
+ import {waitFor} from '@motion-canvas/core/lib/flow';
export default function* example(scene: Scene): ThreadGenerator {
yield* scene.transition();