diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-09-01 16:31:03 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-09-01 16:31:03 +0200 |
| commit | e2bd8d1e093715da6d5d09b6dcbac6b68262f6ad (patch) | |
| tree | 6ad18eaf50a44b949226453bb93843950686dc04 /apps/web/src/app | |
| parent | 971f9d35d7e1053fad597a8ff9d81a5922fa9a0a (diff) | |
| download | opencut-e2bd8d1e093715da6d5d09b6dcbac6b68262f6ad.tar.gz | |
fix: don't pre-fetch sounds
Diffstat (limited to 'apps/web/src/app')
| -rw-r--r-- | apps/web/src/app/editor/[project_id]/layout.tsx | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/apps/web/src/app/editor/[project_id]/layout.tsx b/apps/web/src/app/editor/[project_id]/layout.tsx index 151f7f94..c37e78b7 100644 --- a/apps/web/src/app/editor/[project_id]/layout.tsx +++ b/apps/web/src/app/editor/[project_id]/layout.tsx @@ -1,13 +1,9 @@ -"use client";
-
-import { useGlobalPrefetcher } from "@/components/providers/global-prefetcher";
-
-export default function EditorLayout({
- children,
-}: {
- children: React.ReactNode;
-}) {
- useGlobalPrefetcher();
-
- return <div>{children}</div>;
-}
+"use client"; + +export default function EditorLayout({ + children, +}: { + children: React.ReactNode; +}) { + return <div>{children}</div>; +} |
