Skip to content

🎥 Make videos programmatically with React

rename to get-remotion-environment

Jonny Burgere75f6531b05d
diff --git a/packages/core/src/get-environment.ts b/packages/core/src/get-remotion-environment.ts
similarity index 94%
rename from packages/core/src/get-environment.ts
rename to packages/core/src/get-remotion-environment.ts
index 51a435bdab..5c85429d18 100644
--- a/packages/core/src/get-environment.ts
+++ b/packages/core/src/get-remotion-environment.ts
@@ -5,7 +5,7 @@ export type RemotionEnvironment = {
};
/**
- * @description Provides information obout the Remotion Environment
+ * @description Provides information about the Remotion Environment
* @see [Documentation](https://www.remotion.dev/docs/get-remotion-environment)
*/
export const getRemotionEnvironment = (): RemotionEnvironment => {
diff --git a/packages/docs/docs/get-remotion-environment.md b/packages/docs/docs/get-remotion-environment.md
index e67eb03e97..42d7451459 100644
--- a/packages/docs/docs/get-remotion-environment.md
+++ b/packages/docs/docs/get-remotion-environment.md
@@ -42,6 +42,6 @@ A more realistic use case: In the Remotion Studio you might want to debounce a r
## See also
-- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/get-environment.ts)
+- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/core/src/get-remotion-environment.ts)
- [useVideoConfig()](/docs/use-video-config)
- [`<OffthreadVideo/> while rendering`](/docs/miscellaneous/snippets/offthread-video-while-rendering)