Default

Function: default()

function default(props): Promise<Element>

Defined in: src/app/commissiestrijd/Admin/ManageTasks/EditTask/page.tsx:13

EditTask component that fetches a possible task based on the provided task ID in the search parameters and renders a form to edit the task.

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 edit form for the possible task.