WIP updates
This commit is contained in:
@@ -13,7 +13,7 @@ export interface BatteryWidgetProps {
|
||||
|
||||
export const BatteryWidget = ({
|
||||
batteryLevel,
|
||||
voltage,
|
||||
voltage
|
||||
}: BatteryWidgetProps): JSX.Element => {
|
||||
const { nodes, hardware } = useDevice();
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -19,7 +19,7 @@ export const DeviceWidget = ({
|
||||
nodeNum,
|
||||
disconnected,
|
||||
disconnect,
|
||||
reconnect,
|
||||
reconnect
|
||||
}: DeviceWidgetProps): JSX.Element => {
|
||||
return (
|
||||
<Card className="relative shrink-0 flex-col">
|
||||
|
||||
@@ -11,7 +11,7 @@ export interface NodeInfoWidgetProps {
|
||||
}
|
||||
|
||||
export const NodeInfoWidget = ({
|
||||
hardware,
|
||||
hardware
|
||||
}: NodeInfoWidgetProps): JSX.Element => {
|
||||
return (
|
||||
<Card className="flex-col">
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user