From df5745e5957c6d860e1348f1d4d3487b5ffb5051 Mon Sep 17 00:00:00 2001 From: Jack Wherry Date: Tue, 5 Mar 2024 18:32:21 -0600 Subject: [PATCH] remove commented question (resolved, answer is yes) --- Frontend/package.json | 2 +- Frontend/src/Components/Motor_Motion/Motor_Motion.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Frontend/package.json b/Frontend/package.json index 52baaa4e..676a7e53 100644 --- a/Frontend/package.json +++ b/Frontend/package.json @@ -2,7 +2,7 @@ "name": "chase-car-dashboard-frontend", "version": "5.0.0", "private": true, - "proxy": "http://localhost:4001", + "proxy": "http://127.0.0.1:4001", "dependencies": { "@chakra-ui/icons": "^1.1.5", "@chakra-ui/react": "^1.8.3", diff --git a/Frontend/src/Components/Motor_Motion/Motor_Motion.js b/Frontend/src/Components/Motor_Motion/Motor_Motion.js index b2aafb88..a8b98761 100644 --- a/Frontend/src/Components/Motor_Motion/Motor_Motion.js +++ b/Frontend/src/Components/Motor_Motion/Motor_Motion.js @@ -112,7 +112,6 @@ export default function Motor_Motion(props) {
Accelerator Out - {/*{props.data?.accelerator_out[0].toFixed(1) ?? -1.0} {CONSTANTS.accelerator_out.UNIT}*/}
- {props.data?.headlights_led_en[0] ? : /*Does this mean the same as headlights on?*/} + {props.data?.headlights_led_en[0] ? : }