From 072335b8bdd30c1746943f81482e084e938485c0 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 1 Jan 2022 10:32:48 +0100 Subject: [PATCH] Add initial state to message --- Dashboard/src/redux/slices/serialConnectionSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dashboard/src/redux/slices/serialConnectionSlice.ts b/Dashboard/src/redux/slices/serialConnectionSlice.ts index bb6ddbe..118e80f 100644 --- a/Dashboard/src/redux/slices/serialConnectionSlice.ts +++ b/Dashboard/src/redux/slices/serialConnectionSlice.ts @@ -6,7 +6,7 @@ import ISerialConnectionState from "../../interfaces/ISerialConnectionState"; // Define the initial state using that type const initialState: ISerialConnectionState = { port: "", - message: "", + message: "0,0,0,0", status: { connecting: false, connected: false,