Skip to content

🎥 Make videos programmatically with React

docs: Update image sequences example code

Lokesh Rajendrane3849aeffd42
diff --git a/packages/docs/docs/importing-assets.md b/packages/docs/docs/importing-assets.md
index 7e5f38a71f..18462c3b3d 100644
--- a/packages/docs/docs/importing-assets.md
+++ b/packages/docs/docs/importing-assets.md
@@ -68,7 +68,7 @@ import { Img, staticFile, useCurrentFrame } from "remotion";
const MyComp: React.FC = () => {
const frame = useCurrentFrame();
- return <Img src={staticFile(`/${frame}.png`)} />;
+ return <Img src={staticFile(`/frame${frame}.png`)} />;
};
```