Hooks

|-/hooks 
    |-/editProfile
        |-/useEditProfile

useEditProfile

Functionality

It handles the collection of the current users information for another module and set it up on the local pii slice. Then uses that information to display it and for the user to be able to edit it.

This hook needs to be linked with the module that contains and manage the user personal information. By default there is the documentation of linking PiiOnboarding with Baas to support this.

Go to Baas X PiiOnboarding to see how this functionality is linked.

Return Array

const NameTypeDescription

setEditWasPressed

boolean state

Changing this state to true, triggers sending the updates of the profile information.

Last updated