Browse Source
Merge pull request #467 from KomelT/fix/issue-465
Fix/issue 465
pull/468/head
Tilen Komel
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
src/pages/Nodes.tsx
|
|
|
@ -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 ( |
|
|
|
|