Skip to content

🎥 Make videos programmatically with React

Update serialize-props.ts

Jonny Burgerb47103dae58b
diff --git a/packages/lambda/src/shared/serialize-props.ts b/packages/lambda/src/shared/serialize-props.ts
index 079d1067e1..8ddebfe409 100644
--- a/packages/lambda/src/shared/serialize-props.ts
+++ b/packages/lambda/src/shared/serialize-props.ts
@@ -29,7 +29,7 @@ export const serializeInputProps = async ({
// TODO: It should take the COMBINED size of default props and resolved props
if (payload.length > MAX_INLINE_PAYLOAD_SIZE) {
- RenderInternals.Log.warn(
+ console.warn(
`Warning: inputProps are over ${Math.round(
MAX_INLINE_PAYLOAD_SIZE / 1000
)}KB (${Math.ceil(