mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-29 09:22:21 +00:00
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
import React from 'react';
|
|
import { useParams } from 'react-router-dom';
|
|
import DevicePageWrapper from './Wrapper';
|
|
|
|
const DevicePage = () => {
|
|
const { id } = useParams();
|
|
|
|
return id !== undefined ? <DevicePageWrapper serialNumber={id.toLowerCase()} /> : null;
|
|
};
|
|
|
|
export default DevicePage;
|