Skip to content

🎥 Make videos programmatically with React

don't throw multiple versions warning when the version numbers are the same

Jonny Burger0f737911254d
diff --git a/packages/core/src/multiple-versions-warning.ts b/packages/core/src/multiple-versions-warning.ts
index 05c6022fee..e27cfd648f 100644
--- a/packages/core/src/multiple-versions-warning.ts
+++ b/packages/core/src/multiple-versions-warning.ts
@@ -11,7 +11,7 @@ export const checkMultipleRemotionVersions = () => {
(typeof window !== 'undefined' && window.remotion_imported);
if (alreadyImported) {
- if (typeof window === 'undefined' && alreadyImported === VERSION) {
+ if (alreadyImported === VERSION) {
// Next.JS will reload the package and cause a server-side warning.
// It's okay if this happens during SSR in developement
return;