Add Sensor Hub tab to account settings, integrating new SensorHubTab and related components for sensor management. Updated layout and added error handling in the sensor form.
This commit is contained in:
@@ -12,6 +12,7 @@ const SecurityTab = dynamic(() => import('@views/pages/account-settings/security
|
||||
const BillingPlansTab = dynamic(() => import('@views/pages/account-settings/billing-plans'))
|
||||
const NotificationsTab = dynamic(() => import('@views/pages/account-settings/notifications'))
|
||||
const ConnectionsTab = dynamic(() => import('@views/pages/account-settings/connections'))
|
||||
const SensorHubTab = dynamic(() => import('@views/pages/account-settings/sensor-hub'))
|
||||
|
||||
// Vars
|
||||
const tabContentList = (): { [key: string]: ReactElement } => ({
|
||||
@@ -19,7 +20,8 @@ const tabContentList = (): { [key: string]: ReactElement } => ({
|
||||
security: <SecurityTab />,
|
||||
'billing-plans': <BillingPlansTab />,
|
||||
notifications: <NotificationsTab />,
|
||||
connections: <ConnectionsTab />
|
||||
connections: <ConnectionsTab />,
|
||||
'sensor-hub': <SensorHubTab />
|
||||
})
|
||||
|
||||
const AccountSettingsPage = () => {
|
||||
|
||||
Reference in New Issue
Block a user