Skip to content

Commit c6bb11c

Browse files
authored
Merge pull request meshtastic#467 from KomelT/fix/issue-465
Fix/issue 465
2 parents edee357 + 079e606 commit c6bb11c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/Nodes.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ const NodesPage = (): JSX.Element => {
6363

6464
const handleLocation = useCallback(
6565
(location: Types.PacketMetadata<Protobuf.Mesh.Position>) => {
66+
if (location.to.valueOf() !== hardware.myNodeNum) return;
6667
setSelectedLocation(location);
6768
},
68-
[],
69+
[hardware.myNodeNum],
6970
);
7071

7172
return (

0 commit comments

Comments
 (0)