Default

Function: default()

function default(props): Promise<Element>

Defined in: src/app/commissiestrijd/Admin/ManageSubmittedTasks/ReviewSubmittedTask/page.tsx:14

ReviewSubmittedTask component that fetches a submitted task and its possible task based on the provided task ID in the search parameters, and renders a review form.

Parameters

props

The component props.

searchParams

Promise<{ id?: string; }>

A promise that resolves to an object containing the task ID.

Returns

Promise<Element>

A JSX element that contains the review form for the submitted task.