Fixed Device Viewer not Opening because of past updates
This commit is contained in:
@@ -354,6 +354,7 @@ export default function DeviceDetail() {
|
||||
const [showDelete, setShowDelete] = useState(false);
|
||||
const [mqttStatus, setMqttStatus] = useState(null);
|
||||
const [locationName, setLocationName] = useState(null);
|
||||
const cols = useBreakpoint();
|
||||
const [deviceUsers, setDeviceUsers] = useState([]);
|
||||
const [usersLoading, setUsersLoading] = useState(false);
|
||||
|
||||
@@ -447,8 +448,6 @@ export default function DeviceDetail() {
|
||||
const nextMaintenance = maintainedOn && stats.maintainancePeriod ? addDays(maintainedOn, stats.maintainancePeriod) : null;
|
||||
const maintenanceDaysLeft = nextMaintenance ? daysUntil(nextMaintenance) : null;
|
||||
|
||||
const cols = useBreakpoint();
|
||||
|
||||
// ===== Section definitions =====
|
||||
|
||||
const deviceInfoSection = (
|
||||
|
||||
Reference in New Issue
Block a user