Skip to content

Commit b7edb25

Browse files
committed
fix
1 parent 991d0b8 commit b7edb25

File tree

1 file changed

+2
-2
lines changed
  • apps/web/app/(org)/dashboard/folder/[id]

1 file changed

+2
-2
lines changed

apps/web/app/(org)/dashboard/folder/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import FolderVideosSection from "./components/FolderVideosSection";
2020

2121
const FolderPage = async ({ params }: { params: { id: Folder.FolderId } }) => {
2222
const user = await getCurrentUser();
23-
if (!user) return notFound();
23+
if (!user || !user.activeOrganizationId) return notFound();
2424

25-
Effect.gen(function* () {
25+
return Effect.gen(function* () {
2626
const [childFolders, breadcrumb, videosData] = yield* Effect.all([
2727
getChildFolders(params.id, { variant: "user" }),
2828
getFolderBreadcrumb(params.id),

0 commit comments

Comments
 (0)