Skip to content

🎥 Make videos programmatically with React

update link

Jonny Burger175ee950b8d8
diff --git a/packages/docs/docs/lottie/lottie-comp.md b/packages/docs/docs/lottie/lottie-comp.md
index f130e67cbb..f2767e1e57 100644
--- a/packages/docs/docs/lottie/lottie-comp.md
+++ b/packages/docs/docs/lottie/lottie-comp.md
@@ -22,6 +22,9 @@ export const MyAnimation: React.FC = () => {
};
```
+- [Example using `staticFile()`](/docs/lottie/staticfile)
+- [Example using a remote URL](/docs/lottie/remote)
+
## Props
### `animationData`
@@ -47,7 +50,3 @@ CSS properties to be applied to the `<div>` that contains the animation.
### `className`
A CSS class name to be given to the `<div>` that contains the animation.
-
-## See also
-
-- [Loading Lottie animations using `staticFile()`](/docs/lottie/staticfile)
diff --git a/packages/lottie/src/Lottie.tsx b/packages/lottie/src/Lottie.tsx
index 55b3782cbb..d1dbdf02a6 100644
--- a/packages/lottie/src/Lottie.tsx
+++ b/packages/lottie/src/Lottie.tsx
@@ -40,7 +40,7 @@ export const Lottie = ({
}: LottieProps) => {
if (typeof animationData !== 'object') {
throw new Error(
- 'animationData should be provided as an object. If you only have the path to the JSON file, load it and pass it as animationData. See https://remotion.dev/link-tbd for more information.'
+ 'animationData should be provided as an object. If you only have the path to the JSON file, load it and pass it as animationData. See https://remotion.dev/docs/lottie/lottie#example for more information.'
);
}