diff --git a/Dashboard/src/App.tsx b/Dashboard/src/App.tsx index 3fe2b72..0ada5b6 100644 --- a/Dashboard/src/App.tsx +++ b/Dashboard/src/App.tsx @@ -5,7 +5,7 @@ import Select from "react-select"; import SerialPort from "serialport"; import KnobSection from "./Components/KnobSection"; import { useAppDispatch } from "./redux/hooks"; -import { connect, setSerialPort } from "./redux/slices/serialConnectionSlice"; +import { connect, disconnect, setSerialPort } from "./redux/slices/serialConnectionSlice"; const GlobalStyle = createGlobalStyle` html { @@ -53,7 +53,7 @@ const App = () => {