Skip to content

🎥 Make videos programmatically with React

Update HugePayload.tsx

Jonny Burgeree65b13927a6
diff --git a/packages/example/src/HugePayload.tsx b/packages/example/src/HugePayload.tsx
index b19476d2e1..2bac96be87 100644
--- a/packages/example/src/HugePayload.tsx
+++ b/packages/example/src/HugePayload.tsx
@@ -27,7 +27,7 @@ export const HugePayload: React.FC<z.infer<typeof hugePayloadSchema>> = ({
throw new Error('file does not start with staticBase');
}
- if ((defaultProps.str as string).length !== 6000000) {
+ if ((defaultProps.str as string).length !== 6) {
throw new Error('str (defaultProps) is not 6,000,000 characters long');
}