HandleSaveAccount

Function: handleSaveAccount()

[object Object]

Defined in: components/Account/ChangeProfileForm/ChangeAccountForm.handlers.tsx:83

Saves changes to a user's account.

Parameters

userId

[object Object]

The ID of the user whose account is being saved.

formData

ChangeAccountFormData

The form data containing the updated account details.

subscribedMailinglistIds

string[]

The ids of the mailing lists the member should be subscribed to.

setSaving

(saving) => void

A function to update the saving state.

setMember

Dispatch<SetStateAction<MemberResponseDto | null>>

A function to update the member state.

Returns

Promise<void>

On this page