From b086f72317fae33a8df429ed7768b3575266074f Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Fri, 21 Oct 2022 12:55:03 +0100 Subject: [PATCH] Fixed data resetting --- pages/overlay.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/overlay.js b/pages/overlay.js index eb43c56..f41f5e6 100644 --- a/pages/overlay.js +++ b/pages/overlay.js @@ -290,12 +290,12 @@ export default class Overlay extends Component { }, 1000); // 1 second } this.setState({ - leftHand: { + SaberA: { averageCut: [15.0], averagePreSwing: [70.0], averagePostSwing: [30.0], }, - rightHand: { + SaberB: { averageCut: [15.0], averagePreSwing: [70.0], averagePostSwing: [30.0],