From 248ec6b398a13886578b186a9616c3c63f32d001 Mon Sep 17 00:00:00 2001
From: Jacques
Date: Fri, 23 Jan 2026 18:50:08 +0100
Subject: [PATCH] fix(client): fix dropzone syntax error and jsx lint issue
preventing build
---
client/src/pages/new-reel.tsx | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/client/src/pages/new-reel.tsx b/client/src/pages/new-reel.tsx
index df781f5..d29991f 100644
--- a/client/src/pages/new-reel.tsx
+++ b/client/src/pages/new-reel.tsx
@@ -227,18 +227,16 @@ export default function NewReel() {
const { getRootProps, getInputProps, isDragActive, open } = useDropzone({
onDrop,
accept: {
- accept: {
- 'video/mp4': ['.mp4', '.m4v'],
- 'video/quicktime': ['.mov', '.qt'],
- 'video/webm': ['.webm'],
- 'video/x-msvideo': ['.avi'],
- 'video/*': [],
- },
- multiple: true, // Use multiple to bypass iOS Safari automatic compression
- maxSize: 4 * 1024 * 1024 * 1024, // 4GB Limit
- noClick: true,
- noKeyboard: true,
- });
+ 'video/mp4': ['.mp4', '.m4v'],
+ 'video/quicktime': ['.mov', '.qt'],
+ 'video/webm': ['.webm'],
+ 'video/x-msvideo': ['.avi'],
+ },
+ multiple: true, // Use multiple to bypass iOS Safari automatic compression
+ maxSize: 4 * 1024 * 1024 * 1024, // 4GB Limit
+ noClick: true,
+ noKeyboard: true,
+ });
const handleCameraCapture = (e: React.ChangeEvent) => {
const file = e.target.files?.[0];
@@ -445,7 +443,7 @@ export default function NewReel() {
- Note iPhone : Activez la stabilisation dans Réglages > Appareil Photo
+ Note iPhone : Activez la stabilisation dans Réglages > Appareil Photo