Skip to content

Commit ae67945

Browse files
Removed "Distance to WP" reading (#820)
* Removed "Distance to WP" reading * Lint
1 parent bc3ad33 commit ae67945

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

gcs/src/components/dashboard/tabsSectionTabs/missionTabsSection.jsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function MissionTabsSection({
5454
)
5555
}
5656

57-
const MissionInfo = ({ navControllerOutputData }) => {
57+
const MissionInfo = () => {
5858
const currentMission = useSelector(selectCurrentMission)
5959
return (
6060
<>
@@ -68,13 +68,6 @@ const MissionInfo = ({ navControllerOutputData }) => {
6868
<span className="font-bold"> Waypoint: </span> {currentMission.seq}/
6969
{currentMission.total}
7070
</p>
71-
<p>
72-
<span className="font-bold">Distance to WP: </span>{" "}
73-
{(navControllerOutputData.wp_dist
74-
? navControllerOutputData.wp_dist
75-
: 0
76-
).toFixed(2)}
77-
</p>
7871
</div>
7972
</>
8073
)

0 commit comments

Comments
 (0)