WIP updates

This commit is contained in:
Sacha Weatherstone
2022-11-27 22:50:46 +10:00
parent a9561fe622
commit e457cef3da
79 changed files with 2100 additions and 1284 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export interface BatteryWidgetProps {
export const BatteryWidget = ({
batteryLevel,
voltage,
voltage
}: BatteryWidgetProps): JSX.Element => {
const { nodes, hardware } = useDevice();
+3 -3
View File
@@ -14,7 +14,7 @@ export const ConfiguringWidget = (): JSX.Element => {
moduleConfig,
setReady,
nodes,
connection,
connection
} = useDevice();
useEffect(() => {
@@ -32,7 +32,7 @@ export const ConfiguringWidget = (): JSX.Element => {
channels,
hardware.maxChannels,
hardware.myNodeNum,
setReady,
setReady
]);
return (
@@ -80,7 +80,7 @@ export interface StatusIndicatorProps {
const StatusIndicator = ({
title,
current,
total,
total
}: StatusIndicatorProps): JSX.Element => {
return (
<li className="relative">
+1 -1
View File
@@ -19,7 +19,7 @@ export const DeviceWidget = ({
nodeNum,
disconnected,
disconnect,
reconnect,
reconnect
}: DeviceWidgetProps): JSX.Element => {
return (
<Card className="relative shrink-0 flex-col">
+1 -1
View File
@@ -11,7 +11,7 @@ export interface NodeInfoWidgetProps {
}
export const NodeInfoWidget = ({
hardware,
hardware
}: NodeInfoWidgetProps): JSX.Element => {
return (
<Card className="flex-col">
+1 -1
View File
@@ -3,7 +3,7 @@ import type React from "react";
import { useDevice } from "@app/core/providers/useDevice.js";
import {
EllipsisHorizontalIcon,
UserGroupIcon,
UserGroupIcon
} from "@heroicons/react/24/outline";
import type { Protobuf } from "@meshtastic/meshtasticjs";