Add Sensor Hub functionality with components for managing sensors, including a service for API calls, a modal for selection, and a form for adding new sensors. Updated layout to integrate SensorHub component.
This commit is contained in:
@@ -11,6 +11,7 @@ import HorizontalLayout from '@layouts/HorizontalLayout'
|
||||
|
||||
// Component Imports
|
||||
import Providers from '@components/Providers'
|
||||
import SensorHub from '@components/SensorHub'
|
||||
import Navigation from '@components/layout/vertical/Navigation'
|
||||
import Header from '@components/layout/horizontal/Header'
|
||||
import Navbar from '@components/layout/vertical/Navbar'
|
||||
@@ -31,7 +32,8 @@ const Layout = async (props: ChildrenType) => {
|
||||
return (
|
||||
<Providers direction={direction}>
|
||||
<AuthGuard>
|
||||
<LayoutWrapper
|
||||
<SensorHub>
|
||||
<LayoutWrapper
|
||||
systemMode={systemMode}
|
||||
verticalLayout={
|
||||
<VerticalLayout
|
||||
@@ -55,6 +57,7 @@ const Layout = async (props: ChildrenType) => {
|
||||
<i className='tabler-arrow-up' />
|
||||
</Button>
|
||||
</ScrollToTop>
|
||||
</SensorHub>
|
||||
</AuthGuard>
|
||||
</Providers>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user