Skip to content

The open-source CapCut alternative

refactor: remove unnecessary wrapper from MediaPanel component

DevloperAmanSingh896f2ee55423
diff --git a/apps/web/src/components/editor/media-panel.tsx b/apps/web/src/components/editor/media-panel.tsx
index 64b3f30a..dfe08365 100644
--- a/apps/web/src/components/editor/media-panel.tsx
+++ b/apps/web/src/components/editor/media-panel.tsx
@@ -14,12 +14,6 @@ import { toast } from "sonner";
// You can upload files or drag them from your computer. Dragging from here to the timeline adds them to your video project.
export function MediaPanel() {
- return (
- <div style={{ backgroundColor: 'transparent' }}>
- {/* Existing content */}
- </div>
- );
-}
const { mediaItems, addMediaItem, removeMediaItem } = useMediaStore();
const fileInputRef = useRef<HTMLInputElement>(null);
const [isProcessing, setIsProcessing] = useState(false);