summaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authoriza <59828082+izadoesdev@users.noreply.github.com>2025-06-26 12:45:43 +0300
committerGitHub <noreply@github.com>2025-06-26 12:45:43 +0300
commitd4048772ad12afbf23fc875c087ddd4d7f0224b2 (patch)
tree13528973a867d19b379bd2e7d5a0eccdea0f4120 /apps/web
parentb66e85cf4d9000091f2de9cd25539ea1d86d9d72 (diff)
parent70352ced9222c20fe8a297b2c5bc9598962cfe74 (diff)
downloadopencut-d4048772ad12afbf23fc875c087ddd4d7f0224b2.tar.gz
Merge pull request #122 from DevloperAmanSingh/fix/media-panel-syntax
Fix: Media panel component
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/src/components/auth-form.tsx2
-rw-r--r--apps/web/src/components/editor/media-panel.tsx6
2 files changed, 1 insertions, 7 deletions
diff --git a/apps/web/src/components/auth-form.tsx b/apps/web/src/components/auth-form.tsx
index 7508eb39..2736a627 100644
--- a/apps/web/src/components/auth-form.tsx
+++ b/apps/web/src/components/auth-form.tsx
@@ -1,7 +1,7 @@
"use client";
import { useRouter } from "next/navigation";
-import { useAuth } from '@/hooks/useAuth';
+import { signIn, signUp } from "@opencut/auth/client";
import { Button } from "@/components/ui/button";
import {
Card,
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);