diff options
Diffstat (limited to 'apps/web/src/app/editor')
| -rw-r--r-- | apps/web/src/app/editor/[project_id]/page.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/web/src/app/editor/[project_id]/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx index b3f1a933..b759b9c2 100644 --- a/apps/web/src/app/editor/[project_id]/page.tsx +++ b/apps/web/src/app/editor/[project_id]/page.tsx @@ -14,7 +14,6 @@ import { EditorHeader } from "@/components/editor/editor-header"; import { EditorProvider } from "@/components/providers/editor-provider"; import { Onboarding } from "@/components/editor/onboarding"; import { MigrationDialog } from "@/project/components/migration-dialog"; -import { FreezeFrameDialog } from "@/actions/components/freeze-frame-dialog"; import { usePanelStore } from "@/editor/panel-store"; import { usePasteMedia } from "@/media/use-paste-media"; import { MobileGate } from "@/components/editor/mobile-gate"; @@ -37,8 +36,8 @@ import { } from "@/timeline/bookmarks/index"; export default function Editor() { - const params = useParams(); - const projectId = params.project_id as string; + const params = useParams<{ project_id: string }>(); + const projectId = params.project_id; return ( <MobileGate> @@ -51,7 +50,6 @@ export default function Editor() { </div> <Onboarding /> <MigrationDialog /> - <FreezeFrameDialog /> <ChangelogNotification /> </div> </EditorProvider> |
