summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/media-panel/index.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-08-05 08:46:17 +0200
committerMaze Winther <mazewinther@gmail.com>2025-08-05 08:46:17 +0200
commitefbbc48bc5d20b8df3c1fe5feab3f6471263da4e (patch)
tree2b552acb1ebc9c8354e737c4212177a4d8170bfd /apps/web/src/components/editor/media-panel/index.tsx
parent949228f0bb0c3776b0459b9bbd93af4b18094626 (diff)
downloadopencut-efbbc48bc5d20b8df3c1fe5feab3f6471263da4e.tar.gz
refactor: create base view for media panel tabs
Diffstat (limited to 'apps/web/src/components/editor/media-panel/index.tsx')
-rw-r--r--apps/web/src/components/editor/media-panel/index.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/web/src/components/editor/media-panel/index.tsx b/apps/web/src/components/editor/media-panel/index.tsx
index 70eb69dd..21df9924 100644
--- a/apps/web/src/components/editor/media-panel/index.tsx
+++ b/apps/web/src/components/editor/media-panel/index.tsx
@@ -7,6 +7,7 @@ import { TextView } from "./views/text";
import { SoundsView } from "./views/sounds";
import { Separator } from "@/components/ui/separator";
import { SettingsView } from "./views/settings";
+import { Captions } from "./views/captions";
export function MediaPanel() {
const { activeTab } = useMediaPanelStore();
@@ -30,11 +31,7 @@ export function MediaPanel() {
Transitions view coming soon...
</div>
),
- captions: (
- <div className="p-4 text-muted-foreground">
- Captions view coming soon...
- </div>
- ),
+ captions: <Captions />,
filters: (
<div className="p-4 text-muted-foreground">
Filters view coming soon...