Module

Dashboard

Represents the dashboard page component.

View Source pages/Dashboard/Dashboard.jsx, line 43

Members

boolean

# static mobileMenu

State to toggle the mobile menu.

Default Value:
  • false

View Source pages/Dashboard/Dashboard.jsx, line 64

NavigateFunction

# static navigate

React dom hook to navigate to different routes.

View Source pages/Dashboard/Dashboard.jsx, line 57

boolean

# static showLogoutMOdal

State to toggle the logout modal.

Default Value:
  • false

View Source pages/Dashboard/Dashboard.jsx, line 49

# static useGetUser

React query hook to get user data.

View Source pages/Dashboard/Dashboard.jsx, line 76

# static useGetUserRoles

React query hook to get user roles and eligibility data.

View Source pages/Dashboard/Dashboard.jsx, line 82

* | Object

# static user

React memo hook to memoize user data.

View Source pages/Dashboard/Dashboard.jsx, line 88

* | Object

# static userroles

React memo hook to memoize user roles and eligibility data.

View Source pages/Dashboard/Dashboard.jsx, line 98

Methods

# static handleSignOUt(event)

Function to handle the logout action.

Parameters:
Name Type Description
event Event

The event object.

View Source pages/Dashboard/Dashboard.jsx, line 109