83bc1c617 days ago20 lines · 660 B| 1 | import { notFound } from "next/navigation"; |
| 2 | |
| 3 | import { OutsideCollaborators } |
| 4 | import { createServerClient } |
| 5 | |
| 6 | export default async function |
| 7 | params, |
| 8 | }: PageProps< |
| 9 | const { username: |
| 10 | const client = |
| 11 | const { data |
| 12 | "/api/organizations/{slug}/outside-collaborators", |
| 13 | { params: { path: |
| 14 | ); |
| 15 | if (!data) |
| 16 | |
| 17 | return ( |
| 18 | <OutsideCollaborators slug={ |
| 19 | ); |
| 20 | } |