Updates for telemetry rework
This commit is contained in:
1 parent
f0c561a854
commit
d84d7d94cc
16 files changed
+994
-1000
No files matched your search
@@ -10,7 +10,9 @@ export const Debug = (): JSX.Element => {
|
||||
(state) => state.meshtastic.radio.hardware,
|
||||
);
|
||||
const node = useAppSelector((state) =>
|
||||
state.meshtastic.nodes.find((node) => node.num === hardwareInfo.myNodeNum),
|
||||
state.meshtastic.nodes.find(
|
||||
(node) => node.data.num === hardwareInfo.myNodeNum,
|
||||
),
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
@@ -14,7 +14,9 @@ export const Info = (): JSX.Element => {
|
||||
(state) => state.meshtastic.radio.hardware,
|
||||
);
|
||||
const node = useAppSelector((state) =>
|
||||
state.meshtastic.nodes.find((node) => node.num === hardwareInfo.myNodeNum),
|
||||
state.meshtastic.nodes.find(
|
||||
(node) => node.data.num === hardwareInfo.myNodeNum,
|
||||
),
|
||||
);
|
||||
|
||||
return (
|
||||
@@ -27,7 +29,7 @@ export const Info = (): JSX.Element => {
|
||||
<div className="m-auto flex flex-col gap-2">
|
||||
<Hashicon value={hardwareInfo.myNodeNum.toString()} size={180} />
|
||||
<div className="text-center text-lg font-medium dark:text-white">
|
||||
{node?.user?.longName || 'Unknown'}
|
||||
{node?.data.user?.longName || 'Unknown'}
|
||||
</div>
|
||||
</div>
|
||||
{/* <img
|
||||
|
||||
Reference in new issue
Block a user