Skip to content

Commit

Permalink
Merge pull request #467 from KomelT/fix/issue-465
Browse files Browse the repository at this point in the history
Fix/issue 465
  • Loading branch information
KomelT authored Feb 25, 2025
2 parents edee357 + 079e606 commit c6bb11c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/Nodes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ const NodesPage = (): JSX.Element => {

const handleLocation = useCallback(
(location: Types.PacketMetadata<Protobuf.Mesh.Position>) => {
if (location.to.valueOf() !== hardware.myNodeNum) return;
setSelectedLocation(location);
},
[],
[hardware.myNodeNum],
);

return (
Expand Down

0 comments on commit c6bb11c

Please sign in to comment.