MCPcopy Create free account
hub / github.com/TryCatchLearn/Overflow / Page

Function Page

webapp/src/app/profiles/page.tsx:7–20  ·  view source on GitHub ↗
({searchParams}: {searchParams: SearchParams})

Source from the content-addressed store, hash-verified

5type SearchParams = Promise<{sortBy?: string}>
6
7export default async function Page({searchParams}: {searchParams: SearchParams}) {
8 const {sortBy} = await searchParams;
9 const {data: profiles, error} = await getUserProfiles(sortBy);
10
11 if (error) handleError(error);
12 if (!profiles) return;
13
14 return (
15 <div className="flex flex-col gap-3 px-6">
16 <h3 className='text-3xl font-semibold'>User table</h3>
17 <ProfilesList profiles={profiles} />
18 </div>
19 );
20}

Callers

nothing calls this directly

Calls 2

getUserProfilesFunction · 0.90
handleErrorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…