Skip to content

🎥 Make videos programmatically with React

return an empty object

Viren Mohindra764f02f5a22e
diff --git a/packages/core/src/config/input-props.ts b/packages/core/src/config/input-props.ts
index 8ccf18f277..1d66eda7bc 100644
--- a/packages/core/src/config/input-props.ts
+++ b/packages/core/src/config/input-props.ts
@@ -5,7 +5,7 @@ export const INPUT_PROPS_KEY = 'remotion.inputProps';
export const getInputProps = () => {
if (getRemotionEnvironment() === 'rendering') {
if (typeof window === 'undefined') {
- return;
+ return {};
}
const param = localStorage.getItem(INPUT_PROPS_KEY);