LoadEditActivityData

Function: loadEditActivityData()

[object Object]

Defined in: app/routes/edit-activity/edit-activity.handlers.tsx:29

Hydrates the Activity editor with existing data if the page is in edit mode.

If isEdit is true, this handler performs a network request to fetch the activity details by ID. If the fetch fails, it triggers an error toast. In creation mode, it simply toggles the loading state off.

Parameters

args

[object Object]

Configuration object containing:

Returns

Promise<void>

Async

On this page