bug(webui): App.jsx missing imports — StatusHeader, LogViewer, MotorCurrentGraph #329

Closed
opened 2026-03-03 00:54:25 -05:00 by seb · 0 comments
Owner

App.jsx uses <StatusHeader>, <LogViewer>, and <MotorCurrentGraph> components but never imports them. App crashes on load with ReferenceError: StatusHeader is not defined.

Fix: add these imports to App.jsx:

import { StatusHeader } from "./components/StatusHeader.jsx";
import { LogViewer } from "./components/LogViewer.jsx";
import { MotorCurrentGraph } from "./components/MotorCurrentGraph.jsx";

Hotfixed locally on mbpm4 but needs to be committed to main.

App.jsx uses `<StatusHeader>`, `<LogViewer>`, and `<MotorCurrentGraph>` components but never imports them. App crashes on load with `ReferenceError: StatusHeader is not defined`. Fix: add these imports to App.jsx: ```js import { StatusHeader } from "./components/StatusHeader.jsx"; import { LogViewer } from "./components/LogViewer.jsx"; import { MotorCurrentGraph } from "./components/MotorCurrentGraph.jsx"; ``` Hotfixed locally on mbpm4 but needs to be committed to main.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#329
No description provided.