This commit is contained in:
Proddy
2023-08-08 09:02:21 +02:00
parent 2b54db255e
commit b5b965e339
2 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ import { useState, useContext, useEffect, useCallback, useLayoutEffect } from 'r
import { IconContext } from 'react-icons';
import { toast } from 'react-toastify';
import DashboarDevicesDialog from './DashboardDevicesDialog';
import DashboardDevicesDialog from './DashboardDevicesDialog';
import DeviceIcon from './DeviceIcon';
import * as EMSESP from './api';
@@ -581,7 +581,7 @@ const DashboardDevices: FC = () => {
{renderDeviceData()}
{renderDeviceDetails()}
{selectedDeviceValue && (
<DashboarDevicesDialog
<DashboardDevicesDialog
open={deviceValueDialogOpen}
onClose={deviceValueDialogClose}
onSave={deviceValueDialogSave}

View File

@@ -40,7 +40,7 @@ type DashboardDevicesDialogProps = {
progress: boolean;
};
const DashboarDevicesDialog = ({
const DashboardDevicesDialog = ({
open,
onClose,
onSave,
@@ -224,4 +224,4 @@ const DashboarDevicesDialog = ({
);
};
export default DashboarDevicesDialog;
export default DashboardDevicesDialog;