Module

Profile

Represents the Profile page component

View Source pages/Dashboard/Profile/Profile.jsx, line 18

Members

Boolean

# static changePassword

React state that stores the change password state

Default Value:
  • useState(false)

View Source pages/Dashboard/Profile/Profile.jsx, line 25

* | Object

# static shareholder

React hook that memoizes the shareholder data

View Source pages/Dashboard/Profile/Profile.jsx, line 48

String

# static tabValue

React state that stores the tab value

Default Value:
  • useState(tabs[0].key)

View Source pages/Dashboard/Profile/Profile.jsx, line 40

function

# static useGetShareHolder

React query hook that fetches the shareholder data

View Source pages/Dashboard/Profile/Profile.jsx, line 33

Methods

# inner getTabLayout() → {JSX.Element}

Function that returns the tab layout

View Source pages/Dashboard/Profile/Profile.jsx, line 70

JSX.Element

# inner handleChangeTab(value)

Function that handles tab change

Parameters:
Name Type Description
value String

Tab value

View Source pages/Dashboard/Profile/Profile.jsx, line 60