HandleProfilePictureDelete

Function: handleProfilePictureDelete()

[object Object]

Defined in: components/Account/ChangeProfilePicture/ChangeProfilePicture.handlers.tsx:49

Handles deleting a member's profile picture and reverting to the default avatar.

Parameters

userId

[object Object]

The ID of the user whose profile picture is being deleted.

setProfilePictureSrc?

(url) => void

Optional state setter to update local avatar display.

Returns

Promise<void>

On this page